Home » CSS Tutorial » CSS Properties » text-indent
text-indent
CSS Property Info :
| Syntax: |
text-indent: <value> |
| Possible Values: |
<length> | <percentage>
|
| Initial Value: |
0 |
| Applies to: |
Block-level elements |
| Inherited: |
Yes |
CSS Browser Support :
Internet Explorer 3+
Netscape 4+
Opera 3.6+
W3C's CSS Level 1+
CSS Profile 1.0
Web TV
CSS Property Description :
The text-indent property can be applied to block-level elements (P, H1, etc.) to define the amount of indentation that the first line of the element should receive. The value must be a length or a percentage; percentages refer to the parent element's width. A common use of text-indent would be to indent a paragraph:
P { text-indent: 5em }
CSS Bugs / Problems :
none
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » text-indent
|