Home > Web Front-end > HTML Tutorial > Problem setting scroll bars in div (Record 10)_html/css_WEB-ITnose

Problem setting scroll bars in div (Record 10)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:43:08
Original
869 people have browsed it

For such a div, when the text exceeds, we will Set overflow: scroll

Problem: In this case, even if the content does not exceed the scroll area, the first scroll area will appear. Although there is no scroll bar, the two scroll bars are ugly!

We should solve it like this: overflow: auto

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