Forum Moderators: not2easy

Message Too Old, No Replies

Scrollbar Validation......

         

tcustom

8:28 pm on Sep 28, 2004 (gmt 0)

10+ Year Member



Just a curious question.....

I have this code included in my .css file:
BODY{
scrollbar-face-color:#80A470;
scrollbar-arrow-color:#FFCC00;
scrollbar-track-color:#C6DCAD;
scrollbar-shadow-color:#000000;
}
Which is normal css for changing the side scrollbar colors.

When I validate at W3C's CSS Validator I get the following errors below:
Line: 0 Context : BODY
Property scrollbar-face-color doesn't exist : #80a470
Line: 0 Context : BODY
Property scrollbar-arrow-color doesn't exist : #ffcc00
Line: 0 Context : BODY
Property scrollbar-track-color doesn't exist : #c6dcad
Line: 0 Context : BODY
Property scrollbar-shadow-color doesn't exist : #000000

Is this just a function on these commands just being recognized under IE 5.5 and above?
Thanx........

createErrorMsg

8:34 pm on Sep 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's IE proprietary code and won't validate because it's not part of the W3 specs.

Saltminer

8:41 pm on Sep 28, 2004 (gmt 0)

10+ Year Member



It's not valid CSS, so it won't validate. That's IE specific styling, that MS invented. As the error says the property doesn't exist in the CSS standards.

You can use it in a page, and it will just be ignored by other browsers. So it doesn't "break" anything, but it will never validate either.

Jimmy

tcustom

8:50 pm on Sep 28, 2004 (gmt 0)

10+ Year Member



Guys....

Thanks to both for the quick reply. Had an inkling that's what it was....thanx for "validating".