Div scroll bar

Source: Internet
Author: User

Overflow: visible | auto | hidden | scroll
Overflow-X: horizontal scroll bar
Overflow-Y: vertical scroll bar

(2) horizontal scroll barIf you only want to see a horizontal scroll bar, you must also disable the line feed settings. For example:

<Div style = "overflow-X: auto; Height: 40px; width: 100px; white-space: nowrap"> </div> 2. scroll bar color attributes:
Face-color: slider color
Hightlight-color: highlighted color
3dlight-color: 3D light color
Darkshadow-color: shadow color
Shadow-color: shadow color
Arrow-color: Arrow color
Track-color: slide color
Base-color: The main color of the scroll bar, including the scroll button and scroll slider, for example, scrollbar-face-color: green;
Scrollbar-hightlight-color: red;
ScrollBar-3dLight-color: orange;
Scrollbar-darkshadow-color: blue;
Scrollbar-shadow-color: yellow;
Scrollbar-arrow-color: Purple;
Scrollbar-track-color: black;
Scrollbar-base-color: pink;

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.