Common Browser compatibility

Source: Internet
Author: User

①Block ElementInFloatingTimeHorizontal marginDisplayDouble

② Different browsers display different values for margin and padding.

③ There is a gap between different browser slices

④In UL Li and ol Li, if Li is not floating and the parent label is not set to height, several more pixels may occur in IE6 and IE7.

⑤ IE6 does not support the minimum height

⑥ When IMG is nested in a tag, different colored borders may appear in different browsers:

7 opacity: 0 ~ 1. The smaller the value, the more transparent it is. 1 indicates no transparency, and 0 indicates an hour.

However, ie versions earlier than ie9 (not included) are not supported. filter: alpha (opacity = 50) should be used; the value is 0 ~ 100

 

Summary of bug generation:

 

1. Bugs often appear in IE6

2. Many compatibility problems are unreasonable nesting over tags, and the use of tags is nonstandard.

3.compatibility problems can also be caused by improper use of CSS styles

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.