Hack methods for IE6, IE7, and Firefox

Source: Internet
Author: User
Differences IE6 And FF : Background: Orange ; * Background: Blue ;

DifferencesIE6AndIE7: Background:Green ! Important; Background:Blue;

DifferencesIE7AndFF: Background:Orange;*Background:Green;

DifferencesFF,IE7,IE6: Background:Orange;*Background:Green ! Important; * Background:Blue;

Note: IE can recognize *; standard browsers (such as ff) cannot recognize *; IE6 can recognize *, but not! Important and IE7 can recognize * and also! Important; FF cannot recognize *, but can recognize it! Important;

IE6 IE7 FF
* ×
! Important ×

Add another underline"_",
IE6 supports underlines, while IE7 and Firefox do not.

So we can also differentiate them in this way.IE6,IE7,Firefox
: Background:Orange;*Background:Green;_Background:Blue;

Note: No matter what method, the order of writing is Firefox's preface, IE7's writing in the middle, and IE6's writing at the end.

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.