Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colour of scroll bar 1

Status
Not open for further replies.

Hullu

Programmer
Aug 15, 2008
2
0
0
How it can be changed?
 
Try something like this:
Code:
<STYLE TYPE=&quot;text/css&quot;>
BODY
{
	scrollbar-3d-light-color : #0039A7;
	scrollbar-arrow-color : #0039A7;
	scrollbar-base-color : Black;
	scrollbar-dark-shadow-color : Black;
	scrollbar-face-color : #E2DEC8;
	scrollbar-highlight-color : #6495ED;
	scrollbar-shadow-color : #DEB887;
	border : thin ridge #F5DEB3;
}
</STYLE>
Kevin
slanek@ssd.fsi.com
 
hmm, contuning that, is there a way to replace the individual parts with image?



theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
I don't believe so, unfortunately :( jared@aauser.com
 
<STYLE TYPE=&quot;text/css&quot;>
BODY {
scrollbar-arrow-color:#FFFF00;
scrollbar-face-color:#191944;
scrollbar-darkshadow-color:#000000;
scrollbar-base-color:#003366;
scrollbar-highlight-color:#6699CC;
scrollbar-shadow-color:#003366;
scrollbar-track-color:#003366;
}
</STYLE>

I believe these are the correct properies.

Try it...

cya,

RoX
 
I was so happy to see this solutions,
but neither of them work.
If there are more solutions, I'll be glad to hear about
them.
 
I believe mine only works with IE 5.5, but I won't swear to it. Kevin
slanek@ssd.fsi.com
 
scroll-bar color is an IE5.5-only feature jared@aauser.com
 
Thanks Jared. That's good stuff to know. Kevin
slanek@ssd.fsi.com
 
another question, can you make some part of the scroll bar transparent?

ex:

<STYLE TYPE=&quot;text/css&quot;>
BODY {
scrollbar-arrow-color:#FF0000;
scrollbar-face-color:#FFFFFF;
scrollbar-darkshadow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-highlight-color:#000000;
scrollbar-shadow-color:#000000;
scrollbar-track-color:transparent;
}
</STYLE>

that way, the background of the scroll bar would just show the page's background, and not some color close to that. it would also then show the words/images.

theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
True. It does work for IE 5.5 as you both
(Kevin and jaredn)mentioned.
I guess that I checked it with another version of IE,
before you mentioned that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top