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

Setting the colors of the scrollbars

P: n/a
Hello

I should like to define the colors of the scrollbars for divs with overflows
set to auto. I have a design with black background and white text. Now the
scrollbars do not look very nice and I should like to have them some sort of
dark grey or so. Where and how do I define these colors?

Jörg
Jul 20 '05 #1
Share this Question
Share on Google+
14 Replies


P: n/a
On Sun, 26 Sep 2004 16:01:19 +0200, "Jorg Matter"
<j.******@bluewin.ch> wrote:
Hello

I should like to define the colors of the scrollbars for divs with overflows
set to auto. I have a design with black background and white text. Now the
scrollbars do not look very nice and I should like to have them some sort of
dark grey or so. Where and how do I define these colors?

OMG! GOOGLE!!!!!!!





de groeten,

martin

http://home.planet.nl/~usa
Jul 20 '05 #2

P: n/a
"Jorg Matter" <j.******@bluewin.ch> wrote in message
news:41**********@news.bluewin.ch...
Hello

I should like to define the colors of the scrollbars for divs with
overflows
set to auto. I have a design with black background and white text. Now the
scrollbars do not look very nice and I should like to have them some sort
of
dark grey or so. Where and how do I define these colors?


http://www.upsdell.com/BrowserNews/res_css.htm#a04
Jul 20 '05 #3

P: n/a
Jorg Matter wrote:
I should like to define the colors of the scrollbars for divs with
overflows set to auto.
Scrollbars are part of the browser chrome, outside of the scope of css
(or any www technology). You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.
Where and how do I define these colors?


It would be much better if you stop wanting that.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #4

P: n/a
Jorg Matter wrote:

I should like to define the colors of the scrollbars


<URL:http://www.useit.com/alertbox/20021125.html>

Near the end, under the heading "Object-Oriented GUI Design":

"One particular usability problem is worth emphasizing: in several
applications, users missed many of the options because of nonstandard
scrollbars."

The moral is: just because you can, doesn't mean you should.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 20 '05 #5

P: n/a
In message <Tr*********************@bgtnsc05-news.ops.worldnet.att.net>,
Brian <us*****@julietremblay.com.invalid> writes
Jorg Matter wrote:
I should like to define the colors of the scrollbars for divs with
overflows set to auto.


Scrollbars are part of the browser chrome, outside of the scope of css
(or any www technology). You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.


Which may well be greater than 90% of the OP's audience.
Where and how do I define these colors?


It would be much better if you stop wanting that.

Not necessarily. It's one of those 'design decisions' that the author
has to take, win or lose.

regards.
--
Jake
Jul 20 '05 #6

P: n/a
Brian <us*****@julietremblay.com.invalid>:

Scrollbars are part of the browser chrome, outside of the scope of css
Sure.
You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.


Actually other browser developers (Konqueror, Opera) followed MS in this,
probably because it's pretty easy to implement and to please deezinaz. At
least it's not enabled by default in Opera, don't know about Konqueror.

--
"Right way turning, Listen we are learning.
Head's full of noise, Chicken's got no choice.
Heads are rollin', Chicken blood is stolen.
The rest of the chicken wants a picke-nicken" Guano Apes - We use the Pain
Jul 20 '05 #7

P: n/a
On Mon, 27 Sep 2004 01:37:36 +0200, Christoph Paeper
<ch**************@nurfuerspam.de> wrote:
Brian <us*****@julietremblay.com.invalid>:

Scrollbars are part of the browser chrome, outside of the scope of css


Sure.
You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.


Actually other browser developers (Konqueror, Opera) followed MS in
this, probably because it's pretty easy to implement and to please
deezinaz. At least it's not enabled by default in Opera, don't know
about Konqueror.


Despite any range of support, it remains that there is evidence that
altered scrollbars negatively affect usability. This was reported
elsewhere in this thread. If we accept that fact, we must also afect that
the more UAs which support this "feature", the more users who will be
unable to use the page.

For me, that's an unacceptable risk.
Jul 20 '05 #8

P: n/a
"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
On Mon, 27 Sep 2004 01:37:36 +0200, Christoph Paeper
<ch**************@nurfuerspam.de> wrote:
Brian <us*****@julietremblay.com.invalid>:

Scrollbars are part of the browser chrome, outside of the scope of css


Sure.
You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.


Actually other browser developers (Konqueror, Opera) followed MS in this,
probably because it's pretty easy to implement and to please deezinaz. At
least it's not enabled by default in Opera, don't know about Konqueror.


Despite any range of support, it remains that there is evidence that
altered scrollbars negatively affect usability. This was reported
elsewhere in this thread. If we accept that fact, we must also afect that
the more UAs which support this "feature", the more users who will be
unable to use the page.

For me, that's an unacceptable risk.


As I remember, the OP did not want to set the scrollbar colours for the
page, just for a DIV within the page that was to contain scrollable content.
One can argue that setting the colours for the PAGE should not be done, as
it may be deemed part of the browser window rather than part of the page
design. But setting colours for a DIV within the page seems to me to be
more justifiable.

Jul 20 '05 #9

P: n/a
In message <op**************@news.individual.net>, Neal
<ne*****@yahoo.com> writes
On Mon, 27 Sep 2004 01:37:36 +0200, Christoph Paeper
<ch**************@nurfuerspam.de> wrote:
Brian <us*****@julietremblay.com.invalid>:

Scrollbars are part of the browser chrome, outside of the scope of css


Sure.
You can use Microsoft proprietary code that
will work only in Internet Explorer for Windows.


Actually other browser developers (Konqueror, Opera) followed MS in
this, probably because it's pretty easy to implement and to please
deezinaz. At least it's not enabled by default in Opera, don't know
about Konqueror.


Despite any range of support, it remains that there is evidence that
altered scrollbars negatively affect usability. This was reported
elsewhere in this thread. If we accept that fact, we must also afect
that the more UAs which support this "feature", the more users who will
be unable to use the page.

For me, that's an unacceptable risk.


I find coloured scrollbars either:
(a) Hideous, or
(b) An excellent enhancement to the page colour scheme

Either way, I've never come across ones that present a usability
problem.

But then again, there aren't enough coloured scrollbars in use for me to
have seen all known combinations ;-)

regards.
--
Jake
Jul 20 '05 #10

P: n/a
On Mon, 27 Sep 2004 13:16:35 +0100, jake <ja**@gododdin.demon.co.uk> wrote:
I find coloured scrollbars either:
(a) Hideous, or
(b) An excellent enhancement to the page colour scheme

Either way, I've never come across ones that present a usability problem.


.... for you. But you are not a typical user.
Jul 20 '05 #11

P: n/a
In message <op**************@news.individual.net>, Neal
<ne*****@yahoo.com> writes
On Mon, 27 Sep 2004 13:16:35 +0100, jake <ja**@gododdin.demon.co.uk> wrote:
I find coloured scrollbars either:
(a) Hideous, or
(b) An excellent enhancement to the page colour scheme

Either way, I've never come across ones that present a usability problem.


... for you. But you are not a typical user.


.............. it's just an observation, nothing more.
--
Jake
Jul 20 '05 #12

P: n/a
Christoph Paeper wrote:
Brian:

Scrollbars are part of the browser chrome, outside of the scope of
css
You can use Microsoft proprietary code that will work only in
Internet Explorer for Windows.

Actually other browser developers (Konqueror, Opera) followed MS in
this,


Forgot about that, thanks for the addendum.
At least it's not enabled by default in Opera,
Correct, which makes it almost the same as Mozilla, unless we are to
believe that many Opera users go out of their way to enable it.
don't know about Konqueror.


Nor I. I researched this in the past, and recall something unique to
Konqueror in this regard, but I don't have the time to find the info again.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #13

P: n/a
jake wrote:
Brian writes
Jorg Matter wrote:
I should like to define the colors of the scrollbars for divs
with overflows set to auto.

Scrollbars are part of the browser chrome, outside of the scope of
css (or any www technology). You can use Microsoft proprietary code
that will work only in Internet Explorer for Windows.

Which may well be greater than 90% of the OP's audience.


Or quite a bit less, though I don't see how that changes what I wrote.
(Note Chris Paeper's addendum, though.)
Where and how do I define these colors?

It would be much better if you stop wanting that.


Not necessarily. It's one of those 'design decisions' that the author
has to take, win or lose.


Sort of like font-size: 8px; is a "design decision" (I'm quoting you,
but I'm not sure why you put quotes around that phrase). Or the "design
decision" to use width: 20px for a <p> element. Or light grey on white.

In case you didn't get the memo, we discuss authoring in ciwa*, and it
is hardly inappropriate to point out bad authoring techniques.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #14

P: n/a
Sorry to answer only just now. I was on holyday.
As I remember, the OP did not want to set the scrollbar colours for the
page, just for a DIV within the page that was to contain scrollable content. One can argue that setting the colours for the PAGE should not be done, as
it may be deemed part of the browser window rather than part of the page
design. But setting colours for a DIV within the page seems to me to be
more justifiable.


Yes, exactly! Becaus the light blue and white default colours look extremely
ugly with a black background.

But I see, there is no way around it.

Jörg
Jul 20 '05 #15

This discussion thread is closed

Replies have been disabled for this discussion.