compatibility issues with CSS

Source: Internet
Author: User

browser and CSS compatibility problem has always been a very headache [tolerance] .....

After the completion of the Web site testing, there will generally be a lot of compatibility issues, which is a problem for every developer.

Let's look at common compatibility issues.

(1) The image is spaced by default; WORKAROUND: Float the img

(2) different browser margin and padding differences are large

(3) CSS controller transparency problem: generally directly opacity:0.6;

IE Filter:alpha (opacity=60)

(4) IE6 double-sided bug: After the block attribute adds a float float, the margin value doubles if there is a margin value in the floating direction. Solution:display:inline

(5) IE6 has a link in the picture default margin;  Solution: Border:none; border:0;

compatibility issues with CSS

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.