Browser IE6 non-supported CSS style selectors

Source: Internet
Author: User
Tags valid

1. Child Selector

H1 > Strong {color:red} is invalid,

Only H1 strong {color:red} can be used.

Child selectors are not supported, but derivation selectors are supported.

2.sibling Selector

Li+li {Font-style:bold} is not valid.

3.pseudo-class Selector Limited support.

a:link:visited {color: #fff;}, only the last one: visited.

It is best to write in the following order:

a:link {color:navy;}

a:visited {Color:gray;}

a:hover {color:red;}

a:active {color:yellow;}

IE6 is supported on pseudo class selectors and is limited to hyper-chain.

4 attribute Selector

H1[class] {color:silver;} is invalid.

The above is not supported, Eric Meyer's CSS authoritative guide points out that I have also been validated in the mainstream environment, IE6 Sp1/win XP.

5. But Eric Meyer's book says that IE does not support multiple-class selectors incorrectly, at least for IE6.

. warning.urgent {Background:silver} is valid, not invalid.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.