javascript OBJECT align
@July 5, 2008, 5:02 a.m.
align | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Defines how the OBJECT element is aligned relative to surrounding text content. Most values set the vertical relationship between the OBJECT element and surrounding text. For example, to align the bottom of the element with the baseline of the surrounding text, the align property value would be baseline. An element can be "floated" along the left or right margin to let surrounding text wrap around the OBJECT element. |
|
Example | |
document.getElementById("myObject").align = "absmiddle"; |
|
Value | |
Any of the following alignment constant values (as a string): absbottom | absmiddle | baseline | bottom | right | left | none | texttop | top. |
|
Default | |
bottom |
Permanent URL:
http://javascript.gakaa.com/object-align.aspx
Powered by Linode.