Home  >  Article  >  Web Front-end  >  Set in html to automatically display the scroll bar after the content in the div exceeds _HTML/Xhtml_Web page production

Set in html to automatically display the scroll bar after the content in the div exceeds _HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:38:401665browse

In html pages, we sometimes need to automatically display the scroll bar after the content in the div exceeds the limit. We can set it like this:

Copy code
The code is as follows:



ForeColor="#FF4040">







Then, set the style like this:

Copy code
The code is as follows:



After setting, when the content displayed in the radiobutton exceeds When the outermost div is placed, the scroll bar will be automatically displayed, that is, the nested div
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