Text-indent

Indent the first line in a text-block.

Syntax
      text-indent: length | inherit ;

length - The margin size in px, pt, %, em, etc.
inherit - inherit from the parent element.

Examples:
h1 { text-indent: 20px; }
.ss64class { text-indent: 1em; }

#SS64id { text-indent: 5pt; }

Try it:

A text indent applies to the first line in each paragraph. In pages with a large amount of text this can be a useful way to break up the page content but should be combined with appropriate line spacing.

(CSS 1) Browser Support: All major browsers.

“History could pass for a scarlet text, its jot and title graven red in human blood” ~ Eldridge Cleaver

Related:

text-align - Horizontal alignment of text.
text-decoration - Add decoration to text.
text-overflow - What should happen when text overflows the containing element.
text-shadow - Add a shadow to text.
text-transform - Change the capitalization of text.


© Copyright SS64.com 1999-2014
Some rights reserved