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

Related Posts :

  • border-X border-X CSS border-X Property The CSS border-left, border-top, border-right&nb… Read More...
  • clear clear CSS clear Property The CSS clear property is used to clear space for an elemen… Read More...
  • border-X-width border-X-width CSS border-X-width Property The CSS border-left-width, b… Read More...
  • border border CSS border Property The CSS border property is shorthand CSS for specifying u… Read More...
  • border-width border-width CSS border-width Property The CSS border-width property is… Read More...

0 Response to "text-indent"

Post a Comment