Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to write the compatibility of IE6,IE7,Firefox browser in web page typesetting

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

In this issue, Xiaobian will bring you about IE6, IE7, Firefox browser compatibility in web page layout. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.

You know DIV+CSS web page layout in IE6, IE7, Firefox browser compatibility writing it, here and share with you, DIV+CSS browser compatibility problem has been plagued by many artists engaged in DIV+CSS web page layout, especially IE and Firefox compatibility.

DIV+CSS Web typography IE6, IE7, firefox Firefox compatibility writing

DIV+CSS browser compatibility issues have plagued many artists working on DIV+CSS web page layout, especially IE compatibility with Firefox. Web pages with DIV+CSS layout display everything normally under IE, but when opened in Firefox, the originally good web pages are all messed up. What do you think? This will affect your website promotion,seo optimization, not conducive to search engine search. So solving the DIV+CSS browser compatibility problem is absolutely necessary.

Here's a look at examples of DIV+CSS compatibility, distinguishing between IE6, IE7, Firefox CSS writing:

Let's start by separating them.

◆ First declare DIV+CSS browser compatibility IE6 and IE7 and Firefox (firefox) some recognition rules:

IE can recognize *, standard browsers (such as Firefox) can not recognize *;

IE6 can recognize *, but not recognize! important,

IE7 can recognize *, can also recognize! important;

Firefox does not recognize *, but it does! important;

◆ Please see a simple DIV+CSS browser compatibility example:

Difference between Firefox and IE6:

background:orange;*background:blue;

Firefox background color is orange, IE background color is blue.

Difference between IE6 and IE7:

background:green! important;background:blue;

IE7 background color is green,IE6 background color is blue.

3. Difference between IE7 and Firefox:

background:orange;*background:green;

Firefox's background color is orange, while IE 7's background color is green

4.Firefox,IE7,IE6:

background:orange;*background:green! important;*background:blue;

Firefox has an orange background, IE 7 has a green background, and IE 6 has a blue background.

The above is how the compatibility of IE6, IE7, Firefox browser is written in the web page layout shared by Xiaobian. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report