Re: Hanging indent

[Tue, 4 Jun 2002 10:31:50 -0400 ] Peter Foti (PeterF):
>Interesting.  Is the solution that you propose something like this:

Your samples show exactly what I meant.

The text-indent represents the indentation of the first line relative to
any other lines in the block; the content edges define the boundaries
within which the text (including first line) is formatted.

>#sample1 { text-indent: 2em; }
>#sample2 { text-indent: 0em; }
>#sample3 { text-indent: -2em; }
>
>  +-----------------+
>  |  This is a text |
>  |indent of 2em.   |
>  |Only line 1 is   |
>  |indented.        |
>  +-----------------+
>  
>  +-----------------+
>  |This is a text   |
>  |indent of 0em.   |
>  |Line 1 is flush  |
>  |with the rest.   |
>  +-----------------+
>  
>  +-----------------+
>  |This is a text   |
>  |  indent of      |
>  |  negative 2em.  |
>  |  Every line but |
>  |  line 1 is      |
>  |  indented.      |
>  +-----------------+
-- 
Randall Joseph Fellmy aka Randy@Coises.com

Received on Tuesday, 4 June 2002 16:09:13 UTC