> td.white.active{
> background:#FFF;
> border-color:#F00;
> }
>
>
> P.S. - i'm not sure, but i guess the same bug appears in IE either
IE does not support the multiple class selector ".white.active". It may
seem so somehow, because here it applies these styles as if you had written
td.active
But if you have another rule in your style sheet after this rule that
goes like
td.red.active {
background: red;
border-color: #f00;
}
the background of every element with the class active would become red
in IE.
Oh, another hint: class names like white, red, small etc. are purely
presentational. if the background shall be changed sometime, you will
have to change the class name as well to let it still make sense. and
that's what css isn't about. so you better use semantic class names that
are not derived from the current (!) look, but from the function or
structural meaning of that element (for example important, subtotal etc.)
Regards, Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/