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

Re: Hanging indent

From: JB Piggin <jbpiggin@yahoo.com>
Date: Thu, 6 Jun 2002 06:55:04 -0700 (PDT)
Message-ID: <20020606135504.32149.qmail@web20411.mail.yahoo.com>
To: "Robert J. O'Hara" <rjohara@post.harvard.edu>, www-style@w3.org

Hi Bob.

It makes a difference if you have a coloured
background or a border on the text. Using margin, the
hanging indent would bleed off the edge to the left. 

It's visible in the example here: 


--- "Robert J. O'Hara" <rjohara@post.harvard.edu>
> I've always written:
>   p {margin-left: 1em; text-indent: -1em;}
> Is there a reason you specify padding rather than
> margin, or are both
> just as effective?  If one is preferable I'd
> recommend explaining that
> in the specs, and if both are OK I'd recommend
> noting that also.

Macro-Typography Style Guide at http://www.piggin.net

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
Received on Thursday, 6 June 2002 09:55:05 UTC

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