CSS for IE6, IE7, and Firefox

Source: Internet
Author: User

When we use CSS to build a webpage, the difference between IE6 and Firefox can be used! Important to solve (this method should be used as little as possible), but IE7 still does not seem to know! Important, and there are some differences between it and ie6. Browser inconsistency is always a headache!

The hack of IE6 \ IE7 \ Firefox is given below.Code:

# Example { Color: #333 ; } / * Firefox * / * Html # Example { Color: #666 ; } / * IE6 * / * + Html # Example { Color: #999 ; } / * IE7 * /

The font color in Firefox is #333, the font color in IE6 is #666, And the font color in IE7 is #999.

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.