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

Re: Hanging indent

From: Etan Wexler <ewexler@stickdog.com>
Date: Fri, 24 May 2002 18:28:18 -0700
To: www-style@w3.org
Message-ID: <3CEE8642.29751.499C6A7@localhost>
Jonas Sicking wrote:

> So to put it shortly, with a "hanging indent" property i could get a
> different fallback mechanism for non-supporting browsers [than]
> padding+"text-indent" allows.

You could get the desired fallback mechanism without a new property if we extend the 
allowed values of the 'text-indent' property.  An optional trailing keyword 'hanging' in the 
'text-indent' value would specify that the indent applies not to the first line but to every 
line except the first.  In this scenario, accomodating downlevel user agents is easy.

I could simply give the ideal declaration, letting downlevel user agents ignore the 
declaration and have no indent; for example:

    text-indent: 1.5em hanging

I could specify an alternate presentation for downlevel user agents as well, a 
presentation that is less than ideal but which achieves a hanging indent; for example:

    text-indent: -1.5em;
    text-indent: 1.5em hanging

-- 
Etan Wexler <ewexler@stickdog.com>
Received on Friday, 24 May 2002 21:25:25 GMT

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