W3C home > Mailing lists > Public > www-validator@w3.org > September 2005

Re: Line Height Multiple Values

From: Al Sparber <asparber@projectseven.com>
Date: Tue, 27 Sep 2005 07:51:28 -0400
Message-ID: <014001c5c359$cbcc32b0$6401a8c0@BIGAL>
To: "David Dorward" <david@dorward.me.uk>
Cc: <www-validator@w3.org>

Hi Dave,

I obviously did not explain this very well :-)

What is being reported as an error is this:
line-height: 1;

Adding a decimal causes the error to go away.
Line-height: 1.0;

This was not an issue with the validator until recently.


Al Sparber
PVII
http://www.projectseven.com

"Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday".




----- Original Message ----- 
From: "David Dorward" <david@dorward.me.uk>
To: "Al Sparber" <asparber@projectseven.com>
Cc: <www-validator@w3.org>
Sent: Tuesday, September 27, 2005 2:51 AM
Subject: Re: Line Height Multiple Values


> On Mon, 2005-09-26 at 10:08 -0400, Al Sparber wrote:
>> The validator is deeming multiple values for the line-height 
>> property
>> as invalid.
>
>>From the CSS 2 spec:
>
> 'line-height'
>        Value:
>        normal | <number> | <length> |
>        <percentage> | inherit
>
> Multiple values for the line height property are invalid, it takes 
> one
> (and only one) of a keyword (normal or inherit), a number, length or
> percentage.
>
> -- 
> David Dorward <david@dorward.me.uk>
>
> 
Received on Tuesday, 27 September 2005 11:53:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT