Ever had trouble getting your tables and forms to look consistent
across browsers?
Just found this brilliant article that will answer your prayers.
http://www.komodomedia.com/blog/2006...5-inheritance/
To cut to the chase here is the gist:
Form elements do not automatically assume the font characteristics
of their parents.
With a Strict DOCTYPE your table elements should
automatically inherit from the Body element but if
you are using Transitional DOCTYPE they won't.
Code:
input, select, table, text-area {font: inherit;}
Just drop that into your Reset Style Sheet and you are golden
font-family,
font-size,
font-weight and even
line-height
should all cascade down to those pesky elements.
|