Min-height and height

Source: Internet
Author: User
If you only need to be compatible with IE6, you do not need to pay attention to the Min-height style, because IE6 does not support this style at all. However, when you need to take care of IE7 and FF, you must pay attention to this style. Because many styles with a fixed value of Height = are configured in IE6, IE7 and FF do not adapt to the height when the container is held above the height. This leads to layout confusion. To adapt the height to IE6, IE7, and FF, set Min-height and csshack. For example:
Min-Height: 600px;
_ Height: 600px;
In this way, when there are few items in the container, it shows a fixed height of PX, but when there are many items in it, it will also automatically increase the height.
Pay special attention to the height setting. If it is the height of the container used for layout, pay special attention to it. Otherwise, it will not float in ff, this makes layout messy # html/XHTML/XML Columns

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.