PROPERTY: text-indent

text-indent : length | percentage
 
Compatibility:  IE4+  N4+
Version: Level 1
Inherited: Yes
 
The text-indent property indents the first line of text to the right or left by the specified length or percentage. If the length or percentage is a negative number, the line is indented to the left. A positive number indents to the right.
 
length
 
The length value can be in any of the following seven units. Use the abbreviation.
 
Length Abbrev.
centimeters cm
ems em
inches in
millimeters mm
picas pc
pixels px
points pt

 
percentage
 
The percentage value is based upon the total width being defined as 100%.
 
Code:
p { text-indent:  0.5in; }
p { text-indent:  -15pc; }
p { text-indent:  24pt; }
p { text-indent:  5.5%; }
p { text-indent:  -8%; }

 
or
 
pone { text-indent:  25px; }
...
<p>
We are a premier developers' resource featuring over three thousand pages containing comprehensive quick reference guides, tutorials, knowledge base articles, and useful products to serve a wide range of developers' needs.
</p>

 
Output:

We are a premier developers' resource featuring over three thousand pages containing comprehensive quick reference guides, tutorials, knowledge base articles, and useful products to serve a wide range of developers' needs.



Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information