CSS Tips div for space-time Occupy solution _ Experience Exchange

Source: Internet
Author: User
At this time in IE in the end what is affecting the final display, but also how to resolve it?

Possible impact factors: Font Size (font-size), font line height (line-height), height (heights), overflow (overflow)

We add filter attributes to the above code (specific process interested friends, you can experiment in private, "do-it-yourself, ample clothing"!) )

In the process of testing, you will find IE6 and IE7 parsing is not the same, such as in the Div set the line-height:0; height:0; Style, IE7 in the display of normal, no longer occupy the physical space, and IE6 is still the same way, or sad!

The easiest way to end the test results is to set the height and overflow (overflow) attribute on the DIV:

This article originates from the Web development Net original link: http://www.cncms.com.cn/css/9642.htm
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.