Simply introduce the style sheet content involving the browser scroll bar
(Some styles need IE5.5 to support):
1. Overflow content overflow (setting whether the setting object is displayed to display the scroll bar) Overflow-x horizontal direction content overflow setting Overflow-Y vertical direction content Overflow When setting the above three attributes set the value of Visible (default) ), Scroll, Hidden, Auto.
2. Scrollbar-3d-light-color stereo scroll strip brightly (setting scroll bar color) Scrollbar-arrow-color scrollbar-base-color scroll bar on top of the triangle arrow Scrollbar-Dark-Shadow-Color Scrollbar-fold-color stereo scroll bar-face-color stereo scroll bar-highlight-color scroll bar blank part color scrollbar-shadow-color stereo scroll strip shadow color
We explain the above style properties by several examples: 1. Let the browser window never have a scroll bar without horizontal scroll bar
No vertical scroll bar or2. Set the scroll bar of multi-line text boxes
No horizontal scroll bar
No vertical scroll bar
No scroll bar
3. Set the color setting window of the window scroll bar to red
scrollbar-base-color setting is basically color, in general, only set this A property can achieve the purpose of changing the color of the scroll bar. Plus a special effect:4. Define a class and call the style sheet in the style sheet file.