Sent by Roger on 16 October 2003 22:10
>
> It appears that having two styles in the CSS with the same DIV (even
> though
> different classes) causes only the style declared first to work.
>
> Here's what I have in the CSS:
>
> div.fourth#districtSelect {
> background-color: #ffc;
> }
>
> div.mjc#districtSelect {
> background-color: #000;
> }
>
You'll need to reverse the order of the id and the class:
div#districtSelect.fourth {
background-color: #ffc;
}
div#districtSelect.mjc {
background-color: #000;
}
That works for me (did a quick check in Mozilla 1.5 and Safari).
/Roger
--
http://www.bostream.nu/bereastreet/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/