Is there any Inheritance problem with <table> and it's elements, like <form> elements?
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2010-05-21T01:24:43Z
Indexed on
2010/05/21
2:20 UTC
Read the original article
Hit count: 243
Is there any Inheritance problem with <table>
, tr
th
td
tbody
thead
tfoot
also like form elements?
In IE 6+ and FF 3+ with Strict doctype.
Tables also have inheritance turned off in some browsers. You may notice that in some browsers, your tables’ text will be larger, clunkier and not so pretty. This is also due to inheritance. Many browsers give tables their own style.
It's mentioned here http://www.komodomedia.com/blog/2006/10/css-trickery-part-5-inheritance/
For which browsers author is talking about, it's not mentioned
I tested on FF 3.6 and IE7 but unable to find is there any issue.
I just wanted to be sure before adding this in my CSS reset. Do i really need this?
table {
font-family:inherit;
font-size:inherit;
font-weight:inherit;
}
© Stack Overflow or respective owner