Increase div height in IE6

Source: Internet
Author: User
The front-end is too bad. I have long discovered some bugs in IE6 and IE7. If I have time to solve them one by one, I must first solve the problem of div height increasing in IE6. See the figure below: the div on the top is much higher than other browsers. There are two ways to check the information. First:

The front-end is too bad. I have long discovered some bugs in IE6 and IE7. If I have time to solve them one by one, I must first solve the problem of div height increasing in IE6. See the figure below:

The div on the top is much higher than other browsers. There are two ways to check the information.

First: force the font size of the div.

Font-size: 0"> Phpddt.com

Type 2: Add overflow: hidden to the div;

Overflow: hidden"> Phpddt.com

I tested it. It is effective for my blog, and the first is invalid. I cannot know the specific principle. The next problem is that the transparent PNG Image in IE6 is Beijing gray.

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.