Forum Moderators: not2easy

Message Too Old, No Replies

CSS colored Scrollbar

I used a style sheet to change the appearance of the browser

         

IndiaMaster

9:20 am on May 22, 2007 (gmt 0)

10+ Year Member



I used a style sheet to change the appearance of the browser in one of my site <url removed>. It works fine in IE and Opera but not working in FireFox and Netscape.

Anyone have got any idea why it is behaving like this. The style is as follows:
.scroll {
scrollbar-face-color: #1A4113;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #FF5200;
scrollbar-shadow-color: #0D3692;
scrollbar-highlight-color: #000011;
scrollbar-3dlight-color: #ffffff;
}

[edited by: encyclo at 10:12 am (utc) on May 22, 2007]
[edit reason] See Guide to Posting Code [webmasterworld.com] [/edit]

dwighty

9:46 am on May 22, 2007 (gmt 0)

10+ Year Member



As far as I am aware this function is not supported in FF, and there is no work around.

Paul

BeeDeeDubbleU

9:49 am on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You should remove the URL. The forum does not permit this.

Setek

9:52 am on May 22, 2007 (gmt 0)

10+ Year Member



It's not working because it's proprietary code, courtesy of Microsoft.

Mozilla (Gecko-based) browsers do not and will not support this.

Not to mention the fact that you're changing the consistency of an Operating System control, and by doing so are confusing users.

Dabrowski

10:56 am on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In the past I have hidden the scroll bar and added my own buttons. It's easy enough.

I don't know if scrollbar colours will be present in CSS3 as standard, but FF certainly won't support them unless it is.

Fotiman

6:09 pm on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The scrollbar is part of the browser "chrome". Changing the chrome is bad for usability. My advise... don't touch the chrome.

Robin_reala

7:12 pm on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The extent to which browser manufacturers are removing the ability to adjust the chrome is interesting. There's a discussion going on in the Mozilla community currently about removing favicons to stop people spoofing SSL lock icons with them.