View Full Version : CSS Validation
Cymru
08-18-2003, 12:28 AM
I've validated my CSS on W3C, and it says it is fine. But if I choose a different media type, such as tv or handheld, it throws errors.
My CSS is valid on a computer, but do I need to make it valid for all media types before I can put this image http://jigsaw.w3.org/css-validator/images/vcss on my site?
Cymru
08-18-2003, 12:47 PM
Anybody?
MotherNatrsSon
08-18-2003, 03:07 PM
I would think not. If it validates, it validates.
MNS
Cymru
08-18-2003, 03:21 PM
Let me get that straight, it's valid if it works on a PC?
MotherNatrsSon
08-18-2003, 03:42 PM
Originally posted by Cymru
Let me get that straight, it's valid if it works on a PC?
Yes. It validates it however you have it set up. It will even validate multiple stylesheets if they are all linked to a page. I have had some trouble with the validator as of late. On some pages it won't get past the doctype and calls the doctype an error. 4.01 transitional seems to be the one it stumbles on the most.
So if you have a stylesheet with no media type specified it uses that stylesheet for all media types. If you have one for screen and one for print and one for aural, it will validate them all or you would see errors in whichever stylesheet and you would not be prompted that the CSS is valid.
MNS
Cymru
08-18-2003, 04:22 PM
OK, thanks for the replies. :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.