CSS Validator Errors (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


jengoggtim -> CSS Validator Errors (1/17/2007 16:36:22)

I ran my site through W3C CSS Validator & received the following errors:

URI : http://www.sunembroideryscreenprinting.com/style.css
2 HTML Property scrollbar-arrow-color doesn't exist : #000000
3 HTML Property scrollbar-face-color doesn't exist : #587fc2
4 HTML Property scrollbar-3dlight-color doesn't exist : #587fc2
5 HTML Property scrollbar-highlight-color doesn't exist : #000000
6 HTML Property scrollbar-shadow-color doesn't exist : #000000
7 HTML Property scrollbar-darkshadow-color doesn't exist : #000000
8 HTML Property scrollbar-track-color doesn't exist : #808080

These colors are seen in the scroll bar in IE but not in FF. Is that the problem (the validator is using FF)? If so should I (is there a script) change this? Should I not worry about this? Thanks.




rubyaim -> RE: CSS Validator Errors (1/17/2007 17:05:56)

Hi, the scroll bar thing is specific to IE, so the error is telling you that the code does not comply across multiple browsers (this is what it validates for). It's not the colours themselves, but the actual code, eg "scrollbar-arrow-color" that is MS proprietary.

If you really want to use the coloured scrollbars then I guess you could ignore the error and know it will probably only work in IE.

I'm not sure if there is a cross browser script for this, I just did a quick search at Google and nothing obvious came up.




womble -> RE: CSS Validator Errors (1/17/2007 17:06:43)

Those are M$ proprietary properties - i.e. they only work in IE and aren't part of the official specs which the validator validates against. If you want your CSS to validate you'll have to ditch them.




jaybee -> RE: CSS Validator Errors (1/17/2007 17:33:56)

Yup sorry IE only.




jengoggtim -> RE: CSS Validator Errors (1/18/2007 10:44:19)

For SE ranking purposes, would it be better if the CSS validates?




jaybee -> RE: CSS Validator Errors (1/18/2007 11:04:07)

Shouldn't make any difference. The SEs don't check to see if it's valid or not. The whole point of CSS with SE is that CSS takes the formatting out of the page leaving just content. The SEs tend to read only so many words on each page, Google reads the first 500 for example. If all you have is content then it gets 500 words of content. If you have an enormous script for your nav then it gets 500 words of rubbish and never reaches the content.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125