开发者

Are these style recognized by all browsers of all versions?

#parent div { float:right; }
#parent > div { float:right; }

Most important开发者_JAVA百科ly:firefox and IE


No. Some browsers don't support CSS at all (lynx for example).

The glib answer aside, among browsers you probably care about, the child selector is not supported in Internet Explorer 6.


See this chart:

#parent > div is supported by ALL browsers EXCEPT IE6.


See Quir}{smode's master compatibility table for answers to all these types of questions.

Click here for the CSS Compatibility table

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜