CSS hack record

Source: Internet
Author: User

 

Comments: CSS hack record, which can be viewed by front-end developers.

-- IE6 -- IE7----IE8--FF2----FF3 --- opera9.5
> Property -- y ---- n
. Property -- y ---- n
* Property -- y ---- n
_ Property -- y ---- n

Color: Brown! Important;/* used in modern browsers such as opera, firefox2, and firefox3 */

> Color: Green! Important;/* IE7 and IE8 can recognize this rule, so it overwrites the previous rule */
Color: red;/* all browsers can recognize them, but the above two rules are available! Important, so this rule is ignored. Only IE6 recognizes and overwrites two rules */

Difference between IE6 and FF:
Background: orange; * Background: blue;

Difference between IE6 and IE7:
Background: Green! Important; Background: blue;
Difference between IE7 and FF:
Background: orange; * Background: green;
Difference ff, IE7, IE6:
Background: orange; * Background: Green! Important; * Background: blue;

Browser priority: FF <IE7 <IE6, CSS hack write order is generally FF IE7 IE6

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.