CSS Web page making tips: The default height problem of Li in IE browser

Source: Internet
Author: User

Article Introduction: CSS Web design tips: IE browser under the default height of Li's problem.

Yesterday, at home to open IE7 browser to see "Video navigation network", found that there are typographical errors.

Looking at it with the F12 developer tool, found that the default height of Li is not uniform?

With the tool looked, found that the Firefox high resolution unified 33px, and IE7 resolution height according to the different words, the default resolution of the height of 30px, the resolution of the pure number of 31px; the analytic height of the Chinese and English combination is 32px;

Solution One: give Li set height, IE7 normal, but IE6 problem still exists. Originally, Li inside also nested a label, to a also set a height after the problem solved. :)

workaround two: set font to Arial (font-family:simsun;)[recommend this workaround]



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.