Quote:Original post by CDProp
But even without the 1em there, the font-size still doesn't inherit. Neither does color.
Okay, I see the problem. Mozilla-based browsers treat inheritance differently when it comes to tables in order to be compliant with older web pages. For Mozilla browsers you will need to specify the "inherit" attribute for each of the CSS properties that you want your table to inherit from the parent div.
To force your table to inherit font-size and color, you will need to add a class like the following to your table:
.table_inherit{ color: inherit; font-size: inherit;}...<table class='table_inherit'>
This change does not, however, work in IE 7 or earlier browsers because they only support the "inherit" value for direction, visibility and font-family. There does not appear to be a workaround for this issue other than copying any relevant CSS code into the desired child elements.
You can read more about the Mozilla inheritance issue
here.
[Edited by - Omega147 on August 20, 2009 3:18:32 PM]