The element can be nested into any other HTML element, like tables or frames. They can also be controlled by JavaScript for all values.
Value | Description |
---|---|
ABSBOTTOM | Aligns the bottom of the spacer with the bottom of the current line. |
ABSMIDDLE | Aligns the middle of the spacer with the middle of the current line. |
BASELINE | Aligns the bottom of the spacer with the baseline of the text in the line. This value does the same as align="bottom". |
BOTTOM | Aligns the bottom of the spacer with the baseline of the text in the line. This value does the same as align="baseline". |
LEFT | Places the spacer at the left margin of the page. |
MIDDLE | Aligns the middle of the spacer with the baseline of the text. |
RIGHT | Places the spacer at the right margin of the page. |
TEXTTOP | Aligns the top of the spacer with the top of the text in the line. |
TOP | Aligns the top of the spacer with the top of the largest item in the line. |
<SPACER type="horizontal" size="100">This text is just some text to show
|
|
The second example shows the use of a vertical spacer. Here it is
|
The second example shows the use of a vertical spacer. Here it is
used to force |
<SPACER type="block" align="right" width="100" height="100">
|
|