Regarding setting the minimum height of div, the css will be automatically increased after exceeding it, compatible with IE and Firefox_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:27:49
Original
1065 people have browsed it

The minimum height of this layer is 200px, that is to say, even if there is no content in the div, the height will remain at 200px. When the content in the DIV exceeds 500px, the height of the DIV will be automatically increased. This is compatible with browsers such as IE or FF. (The background color is for the convenience of viewing the effect)

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template