I have the following HTML
<div id="nav" class="red">
some more HTML here
</div>
The following CSS:
#nav.red {
background: red;
}
However this does not work in IE6, can anyone help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
At this moment it is unknown why this is the case, and there is no real ‘fix’. You just have to work around it by changing your CSS. For example:
See here for more, and here for a test page.