Forum Moderators: open
If you don't want your h1 white, make sure you specify it's color!
if that's still not working, giv ethe h1 an ID, and use that ID in the css. That will make it the most specific style, and override others which may somehow exist (or you could jsut remove the other style). Also if you want your background white, specify white.
All too often I see sites which use a mixture of default background color plus white as their pages background. I have no idea why so many of these top designers are so ignorant, but all I know is that it looks pretty ugly.
So bottom line, set colors as the way you want it and not leave anything to default as you don't know what default is on users browser settings right?
- Validate your CSS [jigsaw.w3.org] and you'll find that W3C might have some good suggestions to improve your stylesheet.
- Here's a rather useful read on W3C about Cascading [w3.org].
Are you using CSS external files?
Perhaps they're not sent with a mime type the browser recognizes (or perhaps not all of them got copied?)?
Are you using one of those "free" providers that add code to your pages? It might be their code that's doing it.
To check: compare what you get with "view source" in the browser with what you uploaded to the web server.
Good luck!