W3C home > Mailing lists > Public > www-style@w3.org > July 2001

Re: text-indent/extend (was "suggestion")

From: Mjumbe Ukweli <mjumbewu@hotmail.com>
Date: Fri, 06 Jul 2001 23:09:11 -0400
To: rossen@iae.nl, www-style@w3.org
Message-ID: <F173Yx3G5aYY61LEdyt00017e20@hotmail.com>
>From: "Benjamin Rossen" <rossen@iae.nl>
>To: <www-style@w3.org>
>Subject: suggestion
>Date: Mon, 2 Jul 2001 13:55:42 -0400 (EDT)
>There is no simple way to make a hanging edge (or exdent) on the
>introduction of a paragraph, although a negative indent with margin
>shift does accomplish this. <snip/>

>What about:
>p {exdent: 10px;}

that might confuse things a bit.  what happens when 'indent' and 'exdent' 
are both set on the same paragraph?  i think that negative values for 
'indent' should rather be interpreted as an exdent:

    p {text-indent: -10px; /* exdented 10px */}

either that or there should be a property added to tell the user agent how 
to interpret the 'indent' property:

    p.indent {
        text-indent: 10px;
        text-indent-style: first-line;
    p.exdent {
        text-indent: 10px;
        text-indent-style: hanging;

with the default set to 'first-line'.  i think that's the most 
backward-compatible solution.


Get your FREE download of MSN Explorer at http://explorer.msn.com
Received on Friday, 6 July 2001 23:09:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC