Indenting the second line in HTML/CSS

http://codingforums.com/showthread.php?t=75685

This is a quick, elegant, simple way to indent the second line of an HTML element using CSS.

The relevant code is basically:

[some element] {
 padding-left: 1em;
 text-indent: -1em;
}

You can use it to manipulate most html elements.


Posted

in

by

Tags: