Previous Message
Next Message

Re: [css-d] keyword for font-size, what for line-height?

Sent by Mark Newhouse on 19 August 2002 17:05


on 8/19/02 7:27 AM, Edward Cossette at [EMAIL-REMOVED] wrote:

> Is line-height a no go when relative sizing keywords?

I believe this is why you can use a (unit-less) number for line height -
e.g.

p {
    font-size: small;
    line-height: 1.5;
    }

See http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height for
more...

-- Mark Newhouse
   http://realworldstyle.com/
   css layouts, tips, tricks and techniques
Previous Message
Next Message

Message thread: