Home >Web Front-end >HTML Tutorial >How to adapt div height in css (compatible with FF IE)_html/css_WEB-ITnose

How to adapt div height in css (compatible with FF IE)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:30:02955browse

You can directly add the following attributes to the Div in the outer layer that you want to have "adaptive height":

style="height:100%; overflow:auto;"

Statement:
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