Tips for handling Web site compatibility issues

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Web site compatibility issues have been the most headaches for site developers This, sometimes even a alignment problem is to deal with half a day, sometimes very easy to deal with the IE6 under the compatibility, but IE8 down, and sometimes ie all OK, in the happy time, suddenly passed over, said, "Shang, That what under the Firefox no response ~ "!! I want to say, can I swear? If not, then I really have nothing to say, I was thinking, why do you make so many browsers, IE's own browser why upgrade not their own compatible with their own things ~ ~ I really can't spit out the noise ~ ~ Maybe a lot of web developers have also had my idea? such as,, I no longer complain, eventually to solve these problems ~ ~ ~

So how do I deal with Web site compatibility generally?

1, as one of my programmers, any problem must be to find the reason first

First figure out what version of the browser appears in the problem, because the general customer does not know is ie a few, only know the name, usually with IE, then we can only according to this as clues to solve the problem

2, tools to complete, programmers say the tool is the best helper! There is a good tool to help you save a lot of things!

Generally speaking, I use ietest this tool, you can automatically load ie each version inside, and then the site developers to probably understand the core of each browser, in general, like Sogou browser is called IE's kernel, other browsers basically you search the Baidu on the next to know

3, here should know what kind of kernel version caused the problem, you can start the right remedy!

In general, if there are more problems under IE6, there are basically these, 1 and then IE6 all the styles do not work, this is generally not referenced to the style file, or the style file appears to be a problem, you can use the Delete method, the style file open, the style to delete a part and then see if the page is already have 2 Floating caused, sometimes the bottom of the page to cover the contents of the page or the bottom of the content drift to the right, which is generally not clear floating caused by, generally plus clear:both can solve this problem. Basically a lot of problems are related to floating, here I often use the method is to use the deletion, first find out which style caused the problem, and then solve the problem! Here I introduce a few commonly used methods!

Use symbols _ for IE6 styles, such as _width:200px, under IE6 width of 200 pixels, * for IE6 and ie7,9 for all IE versions

Then the style also has successively, such as width:200px;_width:190px and _width:190px;width:200px; is different, the front is in all browsers width is 200, but under IE6 is 190, after all browsers are 200, and the 190 under the IE6 doesn't work!

In fact, solve the compatibility problem is not more complex and how difficult, the method is actually so, the key to see how flexible use, today can think of these, hope to help the site developers, especially the front desk production staff!

All problems are methodological problems! The skill is only auxiliary, the method is the key!!

Related Article

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.