javascript STYLE verticalAlign
@Aug. 15, 2009, 12:29 p.m.
verticalAlign | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2 |
|
Read/Write |
Specifies the vertical alignment characteristic of the element. This property operates in two spheres, depending on the selection of values you use. |
|
Example | |
document.getElementById("myDIV").style.verticalAlign = "text-top"; |
|
Value | |
String value of an absolute measure (with units), a percentage (relative to the next outer box element), or one of the many constant values: bottom | top | baseline | middle | sub | super | text-bottom | text-top. |
|
Default | |
baseline |
Permanent URL:
http://javascript.gakaa.com/style-verticalalign.aspx
Powered by Linode.