Introduction to CSS hack writing methods in different browsers

高洛峰
Release: 2017-03-27 18:19:02
Original
1695 people have browsed it

Differentiation between CSS hack writing methods in different browsers:

Differentiation between IE6 and FF:
Backgroundrange;*blue; < /span>

Differentiation between IE6 and IE7:
background:green !important;blue; < /span>

The difference between IE7 and FF:
backgroundrange; *background:green;

The difference between FF, IE7 and IE6:
backgroundrange;*background:green !important;*blue; < /span>

Note: IE can recognize it*; standard browsers (such as FF) cannot recognize it*;

IE6 can Recognize *, but not !important,
IE7 can recognize *, but can also recognize !important;
FF cannot recognize *, but can recognize !important;
Add another one, underline "_",
IE6 supports underline, but neither IE7 nor firefox supports underline.

The above is the detailed content of Introduction to CSS hack writing methods in different browsers. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!