Layout: CSS Validation Query
started by Flaxen on Mar 1, 2004 — RSS Feed
Flaxen
Posts: 28
On validating a stylesheet using the W3C CSS Validator I was surprised to see that the scrollbar properties are considered 'not to exist'.
Although I notice that WPDFD doesn't use them, I can see that this forum page does.
Can anyone explain this anomaly to me please?
I'll paste the exact CSS code I'm using, incase I've made some bizarre error!
Body {scrollbar-base-color: #fefcd4;
scrollbar-arrow-color: #990022;
scrollbar-track-color: #fefcd4;
background-color: #fefcd4;}
Joe Gillespie
Posts: 528
Scrollbar colours are not part of the official CSS specifications and only work in IE6 on Windows.
Flaxen
Posts: 28
Thanks for the quick answer.
Now that I think about it I should have known that, since they never work for Netscape....
I shall remove my colour co-ordinated scrollbars, shame though. ![]()
Vladimir
Posts: 53
Why would different browsers add their own specific CSS code that only they can process? (I know we web designers all dislike that because it's not universal)
Another example similar to the one mentioned above is the "rounded table corners" in Mozilla-based browsers that I read about recently...
Joe Gillespie
Posts: 528
The 'cosmetic' presentation of buttons, form elements, etc differs considerably from one browser to another. Whether a scroll bar is coloured or a frame has rounded corners is beyond your contol - as is the browser width, the screen colour depth and many other things. I'm afraid that that's the nature of the beast ![]()
You must login to reply

