Coloring the scroll bars

liunx

Guest
Hi everyone. Long time no post.<br />
<br />
I'm working on an iframe and want to color the scroll bars.<br />
<br />
How?<br />
<br />
Thanks,<br />
Gandalf<br />
:D<!--content-->Well, there are these:<br />
<br />
body<br />
{<br />
scrollbar-base-color: #8185A9;<br />
scrollbar-arrow-color: #000000;<br />
scrollbar-DarkShadow-Color: #FFFFFF;<br />
}<br />
<br />
I think there may be some other options, but this is what I use. Make sure you put this in the iFrame html page, and not the main page(unless you want both colored:)).<br />
<br />
Any other questions, feel free to ask :).<!--content-->Thanks! That did the trick. Ironic how the colors your chose as an example happened to be the color scheme I'm using.<br />
<br />
Ty,<br />
G<br />
:D<!--content-->Just remember that it's proprietary code, which means your style sheet won't validate. It works with IE5.5, IE6, Konqueror 3 and Opera 7.03 (disabled by default). I'm not sure if it works with Safari, which uses the same rendering engine as Konqueror.<br />
<br />
Still a neat effect when used properly. :)<!--content-->Yes it'll work in IE only (maybe some other browser we don't know about as well!? :D)<br />
<br />
But here's the complete list<br />
<br />
scrollbar-3dlight-color : #82BCDA;<br />
scrollbar-darkshadow-color : #82BCDA;<br />
scrollbar-highlight-color : #D7ECF5;<br />
scrollbar-shadow-color : #3985AB;<br />
scrollbar-arrow-color : #0E212A;<br />
scrollbar-face-color : #82BCDA;<br />
scrollbar-track-color : #82BCDA;<br />
<br />
Have fun and enjoy!<br />
<br />
<added>Here's a good site for that - <!-- m --><a class="postlink" href="http://www.solardreamstudios.com/tutorials/css/scroll/">http://www.solardreamstudios.com/tutorials/css/scroll/</a><!-- m --> </added><!--content-->
 
Back
Top