Sent by Chris Williams on 4 December 2009 16:04
The URL parameter needs the value quoted. E.G. should be url('value').
> From: Beat Beer [EMAIL-REMOVED]>
> Subject: [css-d] are there changes in the css validator?
>
> Hi Folks
>
> today I was told by a friend that some css statements don't validate any
> longer and I really don't find a solution to the problem.
>
> following statements do not validate
>
> #header {
> height: 131px;
> background: #e4e3e3 url(../pics/headerMa2.jpg) no-repeat 14.450em;
> }
>
> a[href $='.pdf'] {
> padding-right: 0;
> background: transparent url(../icons/pdf.png) no-repeat left;
> padding-left: 20px;
> }
>
> tried to remove the color value but no change!
>
> while this one validates
>
> h1#logo {
> text-indent: -9999px;
> width: 127px;
> height: 127px;
> background: url(../pics/logoAgile.gif) no-repeat 23px 8px;
> margin: 0;
> padding: 0;
> }
>
> the css validator states
>
> invalide number : background parse error [empty string]
>
> and the CSSEdit internal validators message is
>
> Value Error: background (nullcolors.html#propdev-background) Parse Error
>
> That is in all my styel sheet one of a certain.
> Anyone any idea what this could be? Have I missed a change of Rules , or was
> the validator before not strict enough?
>
> thanks a lot
> Beat
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/