At 13:20 16 12 10, Rory Bernstein wrote:
Is there a way to use CSS to "outdent" some text? I will have a list
of items (vertical). Some items will be short enough to fit on 1
line. Some will wrap; to clarify that those wrapped items are 1 item
and not 2 separate items, I want to "outdent" the first line, 2nd
line would be indented.
Like this:
This is some text that
wraps onto a second line
and maybe even a third
This is a 2nd item
This is the 3rd one
which wraps too
Can this be done with CSS?
Yes. Use the text-indent property and give it a negative value,
such as:
li {text-indent: -10px;}
Reese
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/