Thanks guys for pointing that out, very useful.

Ryno 

-----Original Message-----

Ryan Blunden wrote:
 
> Andy Budd wrote:
 
> > That's very odd. Anybody got any idea why the CSS validator should be
throwing up an error on:

> > line-height: 1;

> > but is happy with

> > line-height: 1.0;

> > Looks like a bug in the validator to me.
 
> I'd say so, but wouldn't the error have more to do with the fact that 
> the value of line-height needs a unit of reference (px, % or em)?

Actually, using a unit for line-height can get you into trouble:
http://members.ij.net/mrmazda/auth/line-height.html
--
"Cast your cares on the Lord and He will sustain you."
                                                Psalm 55:22 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************




__________ NOD32 1.1229 (20050921) Information __________

This message was checked by NOD32 Antivirus System.
http://www.nod32.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to