CSS tips: IE8 browser css hack

Source: Internet
Author: User

Article Introduction: as Win7 users expand, they begin to incorporate IE8 into the development-compatible browser range.

As Win7 users continue to expand, begin to incorporate IE8 into the development-compatible browser scope

"\9" Example: "margin:0px auto\9;". Here the "\9" can distinguish all IE and Firefox.
"*" IE6, IE7 can be identified. IE8, Firefox can't.
"_" IE6 can Identify "_", IE7, IE8, Firefox can not.

. color{
Background-color: #CC00FF; /* All browsers will appear as Purple * *
Background-color: #FF0000 \9; /*ie6, IE7, IE8 will show Red * *
*background-color: #0066FF; /*ie6, IE7 will become blue/
_background-color: #009933; /*ie6 will change to green

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.