javascript STYLE textAlign
| textAlign | NN 6 IE 4 DOM 2 |
| Read/Write | |
|
Determines the horizontal alignment of text within an element's box. |
|
| Example | |
document.getElementById("myDIV").style.textAlign = "right";
|
|
| Value | |
One of the four constants (as a string): center | justify | left | right. |
|
| Default | |
Depends on default language of the browser. |
|
Previous: javascript STYLE textAlignLast
1906,Nickname,Homepage or email,Comments here,Add comment
