div background

Discussion in 'HTML' started by Blindsya, Jul 18, 2003.

  1. Blindsya

    Blindsya Guest

    What is the easiest way of setting the background colour for the <div> tag?
    Any help would be much appreciated
     
    Blindsya, Jul 18, 2003
    #1
    1. Advertisements

  2. In article <bf90j7$7ke$>, says...
    > What is the easiest way of setting the background colour for the <div> tag?
    > Any help would be much appreciated
    >
    >

    In your css:

    div {
    background: maroon;
    color: fuchsia;
    }
     
    Jacqui or (maybe) Pete, Jul 18, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mason66
    Replies:
    0
    Views:
    595
    mason66
    Jul 27, 2006
  2. JWL
    Replies:
    4
    Views:
    823
    Michael Winter
    Sep 26, 2006
  3. jc
    Replies:
    3
    Views:
    2,039
  4. jc
    Replies:
    1
    Views:
    1,624
    Neredbojias
    Mar 19, 2008
  5. K Viltersten

    <div ... /> and <div ...></div>

    K Viltersten, Mar 30, 2009, in forum: ASP .Net
    Replies:
    4
    Views:
    1,130
  6. Dj Frenzy
    Replies:
    3
    Views:
    583
    Robert
    Feb 10, 2004
  7. Dwayne Madsen

    Q: Div A inside Div B is larger than Div B

    Dwayne Madsen, Jun 1, 2005, in forum: Javascript
    Replies:
    1
    Views:
    490
    David Dorward
    Jun 1, 2005
  8. mscir
    Replies:
    3
    Views:
    568
    Martin Honnen
    Jun 26, 2005
Loading...