W3C home > Mailing lists > Public > www-style@w3.org > April 2002

Re: line-height and reality

From: Neil Carson <neil@liberate.com>
Date: Wed, 10 Apr 2002 17:15:16 -0400 (EDT)
Message-ID: <001b01c1e0d4$f8d14f40$3801000a@tsingyi>
To: <www-style@w3.org>, "Christopher Basken" <chriz@basken.com>
> Okay, let me clarify -- the positioning works fine when it's just a mass
of
> text.  When I introduce <p> breaks, it starts to get off-track, so to
> speak.  I've tried giving the p a line-height of 18px (and even a
font-size
> of 12px, which is what my text size is), but it's not helping.
>
> How would I get the <p> to behave?

Presumably you could style the <p> element so that the margin it leaves is
an exact multiple of a whole line, then it wouldn't go off?

    Neil
Received on Monday, 15 April 2002 13:22:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT