Re: Hanging indent

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" <>
> 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

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

Received on Thursday, 6 June 2002 09:55:05 UTC