[cj]
> >>html and css validate except for a css line-height error that i don't
> >>understand.

[francky]
> >- The css-error means that you didn't give a unit for the amount of the
> >line-height: Without units some browsers don't know what to measure: px
> >or em or miles. ;-)

[dL]
> Leading (line-height) is expressed as a raw number. There is no unit of
> measure(px, em, %) used with it. The validator is just being a little
> over-zealous, and complaining about a parse error open string.
> line-height: 2; is correct.
> To make the *validator* happy, close the string, like so:
> line-height: 2.0;

whew, that's what i thought.  after reading some other threads here
about line height, i was under the impression that it's best not to
give a unit to the line height, so this error was really confusing me.
 thanks francky and david.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to