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. Advertising

  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. Advertising

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. jc
    Replies:
    3
    Views:
    1,710
  2. jc
    Replies:
    1
    Views:
    1,351
    Neredbojias
    Mar 19, 2008
  3. K Viltersten

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

    K Viltersten, Mar 30, 2009, in forum: ASP .Net
    Replies:
    4
    Views:
    718
  4. Dwayne Madsen

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

    Dwayne Madsen, Jun 1, 2005, in forum: Javascript
    Replies:
    1
    Views:
    172
    David Dorward
    Jun 1, 2005
  5. mscir
    Replies:
    3
    Views:
    294
    Martin Honnen
    Jun 26, 2005
Loading...

Share This Page