469,890 Members | 1,978 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,890 developers. It's quick & easy.

How set the scroll bar to be color

Dear all,

Please help me to set the scroll bar to be a specific color, thanks

Simon
Jul 20 '05 #1
7 3070
That is done via CSS and not Javascript AFAIK.

--
Elias
"simon lee" <th****@yahoo.com> wrote in message
news:bq**********@hfc.pacific.net.hk...
Dear all,

Please help me to set the scroll bar to be a specific color, thanks

Simon

Jul 20 '05 #2
but still: try www.coffeecup.com
they've got scrollbareditor somewhere amongst the free downloads

Frank

"lallous" <la*****@lgwm.org> schreef in bericht
news:bq*************@ID-161723.news.uni-berlin.de...
That is done via CSS and not Javascript AFAIK.

--
Elias
"simon lee" <th****@yahoo.com> wrote in message
news:bq**********@hfc.pacific.net.hk...
Dear all,

Please help me to set the scroll bar to be a specific color, thanks

Simon


Jul 20 '05 #3
You could do that with Javascript.
Try this and experiment:
<A HREF="#" onMouseOver="document.body.style.scrollbarBaseColo r='green'">Change
Color</A>
Jul 20 '05 #4
tom
Hi Simon,

The scrollbar like every other control can be styled.
Use scrollbar-face-color, scrollbar-arrow-color, scrollbar-highlight-color,
.... there are many scrollbar properties.
But this works only in internet explorer I heard.

Sincerely
Tom F.
"simon lee" <th****@yahoo.com> wrote in message
news:bq**********@hfc.pacific.net.hk...
Dear all,

Please help me to set the scroll bar to be a specific color, thanks

Simon

Jul 20 '05 #5
"tom" <th*@binarythm.com> writes:
The scrollbar like every other control can be styled.
Not with CSS.
Use scrollbar-face-color, scrollbar-arrow-color, scrollbar-highlight-color,
... there are many scrollbar properties.
But this works only in internet explorer I heard.


It is a proprietary Microsoft extension to CSS, not standard. Opera 7
has support for it too, but I believe it is turned off by default.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #6
On Fri, 28 Nov 2003 12:57:43 +0800
"simon lee" <th****@yahoo.com> wrote:
Dear all,

Please help me to set the scroll bar to be a specific color, thanks


I would be greatly annoyed if you did that to me. I prefer to set my
own control styles.

--
"Rats and roaches live by competition under the laws of supply and
demand. It is the privilege of human beings to live under the laws of
justice and mercy."
- Wendell Berry
Jul 20 '05 #7
On Wed, 10 Dec 2003 13:44:06 +0100, "tom" <th*@binarythm.com> wrote:
The scrollbar like every other control can be styled.
Use scrollbar-face-color, scrollbar-arrow-color, scrollbar-highlight-color,
... there are many scrollbar properties.
But this works only in internet explorer I heard.


And playing around with the scrollbar annoys quite a lot of people, so
probably best left alone.

--
Stephen Poley
Jul 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Arlie Rahn | last post: by
4 posts views Thread by ojorus | last post: by
4 posts views Thread by justdummy | last post: by
3 posts views Thread by Devonish | last post: by
1 post views Thread by Keltus | last post: by
6 posts views Thread by =?Utf-8?B?U2hhcm9u?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.