CSS Hack Daquan (IE6, IE7, IE8, IE9 css Hack)

Source: Internet
Author: User

CSS Hack Daquan (IE6, IE7, IE8, IE9 css Hack)

First, IE6 CSS hack:

1. *html Selector {}/* Selector indicates that the CSS selector is */2. Selector {_property:value;}/* Property:value represents the property name of the CSS: The property value is the same as */3. Selector {_property/**/:/**/value;} 4. Selector {-property:value;}/*ie6 css hack common habits recommended to use the underscore _ */

second, IE7 CSS hack:

1. *+html Selector {}2. *:first-child+html Selector {}

third, IE8 CSS hack:

Selector {/* Pay attention to the value of */    property:value1; */* MODEL */    property:value2\0;/* IE 8+ */    property:value1 \9\0; /* IE + */}

Four, IE6, IE7, IE8 common CSS hack:

Selector {property:value\9;}

Five, IE6, IE7 common CSS hack:

1. Selector {*property:value;} 2. Selector {#property: value;} 3. Selector {+property:value;}

vi. ie8+ CSS hack:

Selector {property:value\0;}

VII, ie9+ CSS hack:

Selector {property:value\9\0;}

CSS Hack Daquan (IE6, IE7, IE8, IE9 css Hack)

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.