CSS Display hidden scroll bar instance code

Source: Internet
Author: User
Show hidden scroll bar under frameset frame

<frame src=\ ' #\ ' "id=" Resdefaultframe "name=" Resdefaultframe "scrolling=" Auto "/>

scrolling= "Auto" YES means to display reels

No means don't show the reels anyway

AUTO is subject to availability.

---------------------------------------------------------------------------------------

Hide scroll bar when CSS is loaded

<body style= "Overflow:hidden" >

or <body style= "Overflow-x:hidden;overflow-y:hidden;" >

---------------------------------------------------------------------------------------

div display up/down, left and right scroll bars

<div style= "width:260px;height:120px; Overflow:scroll; BORDER:1PX solid; " >

Here's what you want to show </div>

div Display CSS code for scroll bar up and down

<div style= "width:260px;height:120px; Overflow-y:scroll; BORDER:1PX solid; " >

Here's what you want to show </div>

div display CSS code for left and right scroll bars

<div style= "width:260px;height:120px; Overflow-x:scroll; BORDER:1PX solid; " >

Here's what you want to show </div>

Code to modify the scroll bar color

Scrollbar-face-color (color of the protruding part of the solid scrollbar)

Scrollbar-highlight-color (color of the blank part of the scroll bar)

Scrollbar-shadow-color (color of the solid scrollbar shadow)

Scrollbar-arrow-color (the color of the triangular arrows on the upper and lower buttons)

Scrollbar-base-color (basic color of scroll bars)

Scrollbar-dark-shadow-color (color of the strong shadow of the stereo scroll bar)

Related Article

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.