IE6 to show how your site solves compatibility issues

Source: Internet
Author: User
Keywords IE6

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

About the compatibility of site templates in IE browsers, Lanzhou site construction in the previous impact on the site user experience of the factors mentioned, these days in a visit to some friends chain, peer site or found some of the same problems, including WordPress and Emblog Some of the theme template is also the site in IE7, 8 shows normal, but in the IE6 is really a JavaScript script error and CSS run-like problem, I think it is necessary to say separately.

At present, more than 95% of the domestic Internet users are using XP system, and XP default is IE6 browser. For the front-end developers, IE6 is most familiar with, in addition to Firefox, Opera, Google and other browsers easy to tune outside, almost all the CSS style problems are around the IE browser to test. The same property, in the IE7, 8 can be normal display, can be in IE6 under the dislocation run like. Familiar people know that this is due to the IE6 browser's own flaws, Microsoft developed XP in the most flawed integration components, almost most of the time spent on IE6 style debugging, so IE6 is also the most headaches in IE browser.

But the problem, after all, domestic users do not care about this, as a user, he just needs to know which browser is available on the Internet, and he doesn't have to care about the version of the browser, the compatibility problem, the user does is open your site if the normal display, then he went on to browse other content. If the style of the page you are opening is the wrong type, then how likely do you think the user will continue to go down? And for webmaster friends, it is possible because of IE6 problems and loss of most of the user community, and this is very likely some of the valuable customers. Ask customers to open a website to do site construction, website promotion of a site, the results of your site shows the disorder, people how to find you to give him a website. So to webmaster friends, IE6 problem can not be neglected urgent to solve. The following are some of the problems that are common in IE6:

Site prompts JavaScript script error under IE6

This is because the site page uses some JS framework to show some of the page effects, in IE7, 8 can be displayed normally, and under the IE6 because of IE6 's own defects can not recognize these JavaScript frameworks such as some jquery code of the special effects of scripting errors prompted.

Solution: View the error message, find the wrong source of code, delete or replace the JS code until IE6 no error script prompts. The page effect is good, but do not blindly pursue, IE6 not all can recognize.

Site in the IE6 under the problem of CSS run like

This is the most common problem under IE6. Originally in the IE7, 8, 2 columns are floating side by side, the result of IE6 under a column to the top to the next line, or one of the columns of the width of the sudden increase or 2 column spacing between the increase, causing this is the main reason for the margin recognition.

In IE7, 8 it is normal to recognize the margin property style, but in IE6 the default is to double margin. For example, the set of margin:5px, in IE7, 8 read 5px, and in the IE6 read is margin:10px; this is IE6 to recognize the DIV as a block-level element. Just add display:inline so that IE6 is recognized as an embedded element.

Solution: The use of Ietest browser combined with Firefox browser Firebug Plug-ins, to see the run-like CSS code for modification, which requires webmaster friends to master a certain amount of CSS content knowledge, do not know webmaster friends can also find familiar with CSS code friends to see, Of course, as long as I can help Lanzhou website production is also willing to help you webmaster friends.

Other common CSS compatibility issues to view CSS browser compatibility issues

IE6 recognition of PNG images

Use PNG pictures especially the Webmaster friends with PNG pictures to be aware of this, PNG in the IE6 will have shaded part of the display, so use the CSS filter or add JS code to control the display of PNG pictures.

Solution: You can use the filter effect of CSS or JS to simulate the effect of the filter to display, specific to see the PNG picture under the IE6 of the normal display of several ways.

The above is IE6 common site style problem, although we can not prevent domestic users are using IE6 browser, but we could adjust the style of the page, so that the page can be in IE6, IE7, IE8 and other current mainstream browser platform under normal browsing, After all, get the user's identity is the result we expect. Webmaster friends can see if their site can be IE6 under the normal display.

» Reproduced Please indicate the source: Lanzhou website Construction _ Lanzhou Site Production _ Lanzhou seo» "IE6 whether the normal display of your site"

» This article link address: http://www.ruijienet.com/643

» Subscribe to this site: Http://feed.feedsky.com/ruijie

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.