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

Re: line-height and reality

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 10 Apr 2002 17:19:49 -0400
Message-Id: <200204102119.RAA10219@nerd-xing.mit.edu>
To: Christopher Basken <chriz@basken.com>
cc: www-style@w3.org
> 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?

Perhaps make sure that the margins on <p> are equal to the line-height?

Windows 95:
   (noun): 32 bit extensions and a graphical shell for
a 16 bit patch to an 8 bit operating system originally
coded for a 4 bit microprocessor, written by a 2 bit
company, that can't stand 1 bit of competition.
Received on Wednesday, 10 April 2002 17:19:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:01 UTC