body.window

liunx

Guest
Hi,<br />
<br />
What's wrong with the second class?<br />
<br />
<br />
body<br />
{<br />
background-color: #f47e53;<br />
background-image: url(images/bg_01.gif);<br />
background-repeat: repeat-x;<br />
color: black;<br />
margin-top: 0px;<br />
margin-left: 0px;<br />
padding-top: 0px;<br />
padding-left: 0px;<br />
}<br />
<br />
body.window<br />
{<br />
color: black;<br />
background-color: #f47e53;<br />
}<br />
<br />
<br />
<br />
<br />
I can't get it to work, and can't find an answer.<br />
<br />
Thanks,<br />
Gandalf<br />
:D<!--content-->1) how come you wanna do a class for the body? i don't get it. it shouldn't ever be necessary, since there can only be one body.<br />
<br />
2) i'm just guessing here, but since "window" is part of the DOM (JavaScript), it may be a reserved word or something. totally unsure about that, though.<!--content-->I have several different pages referencing the css page and each one has a different look to the page. So instead of creating more css pages for each page, I simply add more code to the existing css page since it has to load anyway.<!--content-->
 
Back
Top