Re: Can't validate my file correctly!

2012-03-12 15:32, Secondhand Skellefteċ wrote:

> Try to validate http://www.pksecondhand/galleri_1_300_4.css

The domain name is missing; the correct address appears to be in the .se 
domain, e.g.
http://www.pksecondhand.se/galleri_1_300_4.css

> What it reports doesn't make sense to me !

Most of the W3C CSS Validator messages about it are related to the use 
of browser-specific prefixes such as -moz- and -webkit-. Such 
properties, though useful to get better browser coverage at present, do 
not conform to CSS 3 syntax. You can remove such messages from the set 
of error messages, turning them to warnings, by selecting "Vendor 
Extensions: Warnings", in the validator's user interface.

This would leave the messages about transition-property and 
transition-duration, which apparently aren't known to the validator, 
despite being part of the CSS Transitions draft 
http://www.w3.org/TR/css3-transitions (possibly because that draft does 
not seem to be making progress: the current version is from 2009). So if 
you wish to check that your use of those properties conforms to the 
draft, I'm afraid you need to do that manually.

Finally, there's the message
0 is not a box-shadow value : 0 0 15px 2px #000
about line 106. The validator seems to be too picky: it wants the color 
to appear first, and as a color name, so that
box-shadow: black 0 0 15px 2px
passes. I don't know why the validator applies a syntax much more 
limited than that in the CSS Backgrounds and Borders draft 
http://www.w3.org/TR/css3-background/

Yucca

Received on Tuesday, 13 March 2012 12:40:20 UTC