CSS bug in IE and some browsers

zhaozj2021-02-16  84

1, CSS Comment Bug

In IE5.0 (Window && Mac) and previous versions, it cannot be identified for the following CSS comments.

# CommentImmediatelyAfterSelector / * * / {Color: # f00;

2, selector

IE does not support the syntax of most selectors in CSS2 (http://www.w3.org/tr/rec-css2/selector.html#attribute-selectors)

For example, use attribute selectors

P [Id] {color: # 0f0;}

Or child element selector

P> span {color: # 00f;}

http://w3development.de/css/hide_css_from_browsers/

This webpage lists the CSS statements that do not support or present in various browsers.

转载请注明原文地址:https://www.9cbs.com/read-14069.html

New Post(0)