SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS for my page background...

    I've searched on this forum a few times but can't find anything that answers my question.

    So, I know how to use style sheets to format text and table background colors, but I don't know how to create a style sheet for JUST the page background.

    I'm using Dreamweaver, and I use its CSS style panel to create them. But I'm not sure what I'm missing here. I know how to enter the CSS code manually in each page for the background color, but that just defeats the purpose. Of course the whole point of this is so that I can change the background color on all my pages at the same time.

    Can someone help me on this?

    Thanks.

  2. #2
    SitePoint Zealot Selatos's Avatar
    Join Date
    Aug 2002
    Location
    USA
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    background { background: #000000; }
    Is that what you wanted? or was it something dreamweaver specific?

  3. #3
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you redefine the <body> tag when you're setting your style, beyond that you should know that you set the background colour on the background page on the CSS editor..

    Douglas
    Hello World

  4. #4
    SitePoint Member
    Join Date
    Jul 2001
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!

    I got it to work now.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •