javascript STYLE textIndent
| textIndent | NN 6 IE 4 DOM 2 |
|
|
Read/Write |
|
Specifies the size of the indent at the first line of a block of inline text (such as a p element). Only the first line is affected by this setting. A negative value can be used to outdent the first line, but be sure the text does not run beyond the left edge of the browser window or frame. |
|
| Example | |
document.getElementById("firstGraph").style.textIndent = "0.5em";
|
|
| Value | |
|
Positive or negative CSS length value as a string. |
|
| Default | |
|
0px |
|
Previous: javascript STYLE textJustify
1911,Nickname,Homepage or email,Comments here,Add comment
