On Sun, 05 Jun 2005 00:59:22 -0700, Mason Chumpia <[EMAIL PROTECTED]> wrote:

I would like the list to be presented so:

+-----------------------------+
| * List item 1               |
|                             |
| * List item 2               |
|                             |
| * List item 3               |
|    that spans more than     |
|    one line and is indented |
+-----------------------------+

List item 3 wraps and is indented by some measure on lines excluding the first because it's length exceeds the specified width of the container. How can I achieve this using CSS?

ul, li { margin: 0; padding: 0; }
li { padding-left: 3em; list-style-position: inside; text-indent: -2em }

Roman.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to