Sent by Beat Beer on 4 December 2009 16:04
Tim
you are right thanks. Silly that I haven't had this validation problem before!
Thanks a lot
Am 04.12.2009 um 17:12 schrieb Tim Duffy:
> i think you need 2 parameters for "background-position"
>
> so this validates:
> #header {
> height: 131px;
> background: #e4e3e3 url(../pics/headerMa2.jpg) no-repeat 0 14.5em;<==I added 0
> }
>
> a[href $='.pdf']{
> padding-right: 0;
> background: transparent url(../icons/pdf.png) no-repeat left top;<==I added top
> padding-left: 20px;
> }
>
> On Fri, Dec 4, 2009 at 10:30 AM, Beat Beer [EMAIL-REMOVED]> wrote:
> 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/
>
______________________________________________________________________
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/