View Full Version : CSS scroll bar colors in IE not working...
03-22-2005, 03:43 PM
I have this code in my CSS file to give the scroll bars a color in IE:
But, it's not working......Can anyone give me some possible reasons why this code would not produce the desired results (scroll bar colors in IE)....if it helps, my doctype is HTML Transitional 4.01....
03-22-2005, 03:51 PM
It would probably help if you would place a hash mark (#) in front of all the color values, so "scrollbar-arrow-color:#ffffff;" instead of "scrollbar-arrow-color:ffffff;", etc.
03-22-2005, 03:55 PM
From past experience I've learnt that you cannot have coloured scrollbars with the HTML 4.01 Transitional Doctype - I'm not sure if all other doctypes prevent them too, but they are not really valid according to the w3 anyway.
03-22-2005, 04:06 PM
not really valid according to the w3
Correct; they're strictly IE and therefore not valid according to any CSS standard.
This has nothing to do with the HTML version though, I expect, unless the chosen rendering mode has some influence. I don't expect MS however to kill their own little toy in any rendering mode in IE.
03-22-2005, 04:19 PM
The hash marks were an oversight, thank you....
But I added them, and the CSS still isn't working right....
Could it have anything to do with the fact that the CCS is working inside a file with the extension .shtml and the fact that I'm testing the page offline?
03-22-2005, 06:02 PM
it has to go in the html element
03-22-2005, 06:11 PM
Please, please, please search the forums before asking a question - this particular problem has been encounted many times before, and I have personally provided the answer to more topics than I can count (mind you, I can't count very well :D ).
03-22-2005, 06:12 PM
sweet, thanks....that did it :thumbsup:
Please, please, please search the forums before asking a question - this particular problem has been encounted many times before, and I have personally provided the answer to more topics than I can count (mind you, I can't count very well ).
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.