text-indent

text-indent
CSS text-indent Property
The CSS text-indent property is used to indent the first line of text inside of an element.
CSS CODE EXAMPLE
<style type="text/css">
#p1{
    text-indent: 50px;
}
#p2{
    text-indent: 10%;
}
</style>
<p id="p1">paragraph content ...<br /> another line ...</p>
<p id="p2">paragraph content ...<br /> another line ...</p>
 
paragraph content ...
another line ...
paragraph content ...
another line ...

Possible Values:

pixel amount •• percentage

0 Response to "text-indent"

Post a Comment