CSS compatibility issues

Source: Internet
Author: User

1. Png24 images on IE will appear in the background, the solution with Png8 pictures.

2. The default padding and margin are different on different browsers, the solution is *{padding:0;margin:0;} Sets the default value.

3.ie6 Two-sided bug: block attribute tag after float, there are rows of margin in the case, the IE6 display margin than set the large.

4.IE, the even object has an X, y attribute but no pagex,pagey property; Firefox, the event object has the Pagex,pagey property, but there is no X, Y property; Workaround: (conditional comment) The disadvantage is that the number of additional HTTP requests may be increased under Internet Explorer.

5.Chrome Chinese interface By default will be less than 12px of text force in accordance with the 12px display, you can add CSS properties-webkit-text-size-adjust:none;

CSS compatibility issues

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.