Changing the Scrollbar's Appearance (IE Windows Only)Microsoft Internet Explorer (versions 5.5 and later) for Windows allows you to set the color for all or part of the scrollbar (Table 8.7). These properties can be applied to the main scrollbar for the page or any scrollbar within the page, such as text-area scrollbars. They are not, however, a part of any W3C standard, so will not work in any browsers other than Internet Explorer. However, adding this code will not interfere with other browsers.
In this example (Figure 8.11), the scroll bars in the form text area and the main window have been altered from their default appearance. Figure 8.11. The main scrollbar for the page is red and the 3D appearance for the text-area scrollbar has been reversed.
To set a scrollbar's colors:
Tip
|