> <style>
> TD.databox { border: 2px solid #6D7C9B; }
> .databox { border: 2px solid #6D7C9B; }
> </style>
>
> If I have just .databox and I try <td class="databox">, the class isn't
> applied. I specifically need to make a TD.databox. How come sometimes
> I can't use the solitary class selector and I have to make a specific
> one?
Is there another style definition for TD? If so, then you need the
higher specificity to apply the style.
http://www.w3.org/TR/REC-CSS2/cascade.html#specificity
--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/