|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
HEllo, I noticed on several webpages including www.techtv.com that the scroll bars on the right side of the browser window are colored. I was curious how this is done. I assume this is prolly an IE only and even Windows only feature but none the less am curious as to the works of this. Is this done with CSS? Straight HTML? JavaScript? etc? and what else can be customized like this. Any links or info would be greatly appreicated. Thanks
------------------ Casey Swenson Casey@mini-online.co.uk http://www.mini-online.co.uk |
|
#2
|
|||
|
|||
|
Insert the following script into the body of your page. I made each element a different color so that you can clearly see what each option changes. This will only work in IE 4+.
<STYLE type="text/css"> BODY { scrollbar-face-color: white; scrollbar-shadow-color: blue; scrollbar-highlight-color: red; scrollbar-3dlight-color: green; scrollbar-darkshadow-color: black; scrollbar-track-color: purple; scrollbar-arrow-color: #aa12bb; } </STYLE> Hope that helps. --deviant --> www.inrudesigns.com |
|
#3
|
|||
|
|||
|
you're right, caswenso, it only works on PC's too.
there are a bunch of cool little tricks like that (WIN-IE only, including having the text write from right to left, or from bottom to top, for displaying non-roman languages.) |
|
#4
|
|||
|
|||
|
Thank you for your help.
------------------ Casey Swenson Casey@mini-online.co.uk http://www.mini-online.co.uk |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Colored Scroll Bars |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|