Simon Kittle wrote: > I can kinda get around this for my DIV elemnets by just > setting a default color attached to the BODY element. But the > trouble is this doesn't work for my TABLES, because TD > elements don't seem to take on the style from a BODY. So I > have to have a rule similar to: > > td > { > color: blue; > } > > But that then means if I have a table inside a DIV or some > other container which sets the color to red, I have to > manually set the color on each of the TD's inside that child > table as well as on the DIV container, which is not ideal. > > What is the recommended way to solve this?
Use classes. Instead of adding style="color:red;" to a div, add class="classname", and set in the stylesheet: div.classname, div.classname td{ color:red; } ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/