Paragraph indentation

2008-08-27

Need to indent all lines of a paragraph except for the first one? Here's the CSS to achieve that (to be used on a block element like DIV).

Code: (CSS)
text-indent: -20px;
margin-left: 20px;

It works because text-indent indents only the first line negatively (so moves it more to the left) and margin-left adds a margin to every line resulting in reverting what text-indent did but adding a margin to all the other lines.