July 1998
Intermediate to advanced
1456 pages
65h 5m
English
align — NN n/a IE 4 DOM 1
Read/Write
Defines how the element is aligned relative to surrounding text
content. Most values set the vertical relationship between the
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 element.
document.all.myIframe.align = "absmiddle"
Any of the following alignment constant values (as a string):
absbottom | absmiddle |
baseline | bottom |
right | left |
none | texttop |
top.
bottom
Read now
Unlock full access