开发者

Is there any Inheritance problem with <table> and it's elements, like <form> elements?

开发者 https://www.devze.com 2022-12-30 21:44 出处:网络
Is there any Inheritance problem with <table>, tr th td tbody thead tfoot also like form elements?

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;
}


I found a reason here http://meyerweb.com/eric/articles/webrev/199903.html

And it's problem only in

Internet Explorer 4.x for Windows, or Navigator 4.x on any platform.

here also http://archive.webstandards.org/css/winie/#Inheritance_breakdown_within_tables

0

精彩评论

暂无评论...
验证码 换一张
取 消