CSS Tips div for space-occupied solutions _ Experience Exchange
Source: Internet
Author: User
At this time in IE in the end what is the impact of the final display, and how to parse it?
Possible factors: Font size (font-size), font line height (line-height), height, overflow (overflow)
We add a filter attribute to the code above (the specific process of interested friends, you can experiment privately, "DIY, clothed"!) )
In the process of testing, you will find IE6 and IE7 resolution is not the same, for example, in the Div set line-height:0; height:0; Style, IE7 show normal, no longer occupy the physical space, and IE6 still do their own, or sad!
The simplest way to make the final test result is to set the height and overflow (overflow) attributes for the DIV:
This article is from the Web Development Network Source Link: http://www.cncms.com.cn/css/9642.htm
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