javascript IMG align
| align | NN 6 IE 4 DOM 1 |
|
|
Read/Write |
|
Defines how the IMG element is aligned relative to surrounding text content. Most values set the vertical relationship between the IMG 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 IMG element. |
|
| Example | |
document.logoImg.align = "absmiddle"; |
|
| Value | |
|
Any of the following alignment constant values (as a string): absbottom | absmiddle | baseline | bottom | right | left | none | texttop | top. |
|
| Default | |
|
bottom |
|
Previous: javascript IMG alt
969,Nickname,Homepage or email,Comments here,Add comment
