By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,128 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

How set the scroll bar to be color

P: n/a
Dear all,

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

Simon
Jul 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
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

P: n/a
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.