javascript IFRAME align
@July 5, 2008, 5:02 a.m.
align | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Defines how the IFRAME element is aligned relative to surrounding text content. Most values set the vertical relationship between the IFRAME 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 IFRAME element. |
|
Example | |
document.getElementById("myIframe").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/iframe-align.aspx
Powered by Linode.