SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: CSS for my page background...
-
Sep 7, 2002, 08:25 #1
- 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.
-
Sep 7, 2002, 08:36 #2Code:
background { background: #000000; }
-
Sep 7, 2002, 10:15 #3
- 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..
DouglasHello World
-
Sep 7, 2002, 14:11 #4
- Join Date
- Jul 2001
- Posts
- 18
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks!
I got it to work now.
Bookmarks