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: 
http://www.piggin.net/poetry3.htm

Jean-Baptiste 

--- "Robert J. O'Hara" <rjohara@post.harvard.edu>
wrote:
> 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
http://fifaworldcup.yahoo.com
Received on Thursday, 6 June 2002 09:55:05 GMT

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