HighDots Forums  

Overflow: scroll scrollbar colors?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Overflow: scroll scrollbar colors? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kjs
 
Posts: n/a

Default Overflow: scroll scrollbar colors? - 11-20-2005 , 01:49 AM






Is there any was to control the color of the scrollbars when using the
'overflow: scroll' attribute?

TIA,

Karl



Reply With Quote
  #2  
Old   
kjs
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-20-2005 , 02:00 AM






I answered my own question by consulting c.i.w.a.h google group archives (an
Oct 25, 2000 posting from Robert Norris).

Cheers.



Reply With Quote
  #3  
Old   
Janusz 'Kali' Kaliszczak
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-20-2005 , 02:12 PM



kjs napisał(a):
Quote:
I answered my own question by consulting c.i.w.a.h google group archives (an
Oct 25, 2000 posting from Robert Norris).
My advice is, that you better rely on much newer posts.
Styling scrollbars is IE-only trick and won't work in other browsers.

--
Janusz 'Kali' Kaliszczak


Reply With Quote
  #4  
Old   
Janusz 'Kali' Kaliszczak
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-20-2005 , 04:03 PM



Dylan Parry wrote:
Quote:
As if the love poetry wasn't enough, Janusz 'Kali' Kaliszczak just had
to say:


Styling scrollbars is IE-only trick and won't work in other browsers.


Not entirely true. It /can/ work in Opera too, but as the user can (and
often will) disable feature, it can't be relied on.
http://www.opera.com/support/search/....dml?index=637

As you can see, it looks quite opposite.
It's IE's extension to CSS and as default it's disabled so coder can't
rely on it.


--
Janusz 'Kali' Kaliszczak
+ pies rasy *jumnik*
=> http://www.deviantart.com/view/18982956/ <= GG#52055


Reply With Quote
  #5  
Old   
Janusz 'Kali' Kaliszczak
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-20-2005 , 07:11 PM



Toby Inkster wrote:
Quote:
Janusz 'Kali' Kaliszczak wrote:


http://www.opera.com/support/search/....dml?index=637

As you can see, it looks quite opposite.
It's IE's extension to CSS and as default it's disabled so coder can't
rely on it.


Page is a little out of date. It's ON by default now.

Ok. My fault.
I just never use non-standard things, so I've never checked it myself.

--
Janusz 'Kali' Kaliszczak
+ pies rasy *jumnik*
=> http://www.deviantart.com/view/18982956/ <= GG#52055


Reply With Quote
  #6  
Old   
kjs
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-21-2005 , 01:40 AM



.. . . pretty nice trick -- especially on a dark background.


-- from Google Group Archives of ciwah:



Robert Norris
Oct 25 2000, 12:00 am show options

Newsgroups: alt.www.webmaster
From: "Robert Norris" <rob... (AT) e-constructions (DOT) com.au> - Find
messages by this author
Date: 2000/10/25
Subject: Re: How to change Scrollbar color ?
Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

Hi Cliff,


You can change the color of the scroll bar using cascading style
sheets.
Here is an example for you:


<STYLE TYPE="text/css">
BODY {
margin: 0 0 0 0;
padding: 0 0 0 0;
scrollbar-face-color: #666666;
scrollbar-highlight-color: #333333;
scrollbar-shadow-color: #222222;
scrollbar-3dlight-color: #888888;
scrollbar-arrow-color: #ff0000;
scrollbar-track-color: #222222;
scrollbar-darkshadow-color: #111111
}
</STYLE>


Place that in your <head></head> tags and fiddle around.


Hope this helps.


Good luck,







Reply With Quote
  #7  
Old   
TomB
 
Posts: n/a

Default Re: Overflow: scroll scrollbar colors? - 11-21-2005 , 12:52 PM



Dylan Parry wrote:

Quote:
I think, but I am sure others will disagree, that whilst the browser
window is part of the user's environment, and not something that I
should fiddle with, the scroll bars within the page (not the one down
the RHS[1]) are part of the page, and it would be nice to be able to
style them to fit with the rest of a design if they are used at all.
I totally agree with that. It wouldn't be a bad thing if w3c added it to
the CSS specs. People who don't like it don't have to use it, and those
who do like it finally can use valid styling code.


--
TomB - DrumScum
tomb <-at-> versateladsl <-punt-> be
http://www.duskmetal.be


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.