indent second line css
- Started
- Last post
- 5 Responses
- xrusos
i want to use css to auto indent all lines after the first line of a paragraph. but it needs to do so without hard wrapping all the lines.
example:
This is my content. This is
___my content. This is my
___content. This is my
___content. This is my
___content.(of course the "___" should really be spaces, but you get the idea)
how do i do it?
- xrusos0
i tried this but no love:
p style="left-indent: 20px; first-line-indent: -20px;"
- xrusos0
p style="text-indent: -20px;"
this worked!
- xrusos0
(am i the only one that talks to himself here? - it seems to happen to me an awful lot.)
- schjetne0
I think indent -20 px might not work in other browsers than IE.
- gabe0
you aren't actually indenting anything but the first line with a negative number, and it's pretty basic CSS so i don't see why it wouldn't work with any other standards-compliant browser...