<SPACER> provides better control over the spacing of objects and whitespace in HTML pages.
This is a Netscape creation. It can be very similar to the <tab> tag that everybody wants but it is still not quite.
align=
0.9
1.2
The ALIGN attribute only applies when the spacer is of type block. Then this attribute controls the alignment of the spacing rectangle in exactly the same way it would control the alignment of an <IMG> tag. (Netscape 3.0b5)
absbottom
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the bottom of a spacing rectangle with the top of the tallest text in the current line. (Netscape)
absmiddle
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the middle of a spacing rectangle with the middle of the text in the current line. (Netscape)
baseline
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the bottom of a spacing rectangle with the baseline of the text in the current line. (Netscape)
bottom default
1.1
2.0
3.0
4.0
0.9
1.2
The same as baseline above.
left
1.1
2.0
3.0
4.0
0.9
1.2
... aligns a spacing rectangle with the left margin. (Netscape)
middle
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the middle of a spacing rectangle with the middle of the text in the current line. (Netscape)
right
1.1
2.0
3.0
4.0
0.9
1.2
... aligns a spacing rectangle with the right margin. (Netscape)
texttop
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the top of a spacing rectangle with the top of the tallest text in the current line. (Netscape)
top
1.1
2.0
3.0
4.0
0.9
1.2
... aligns the top of a spacing rectangle with the top of the tallest text in the current line. (Netscape)
height=
0.9
1.2
The HEIGHT attribute only applies when the spacer is of type block. Then this attribute controls the absolute height in pixels of the spacing rectangle added. (Netscape 3.0b5)
size=
0.9
1.2
The SIZE attribute is only applied when the spacer has a type of horizontal or vertical. Then this attribute controls the absolute width or height in pixels of the spacing added. (Netscape 3.0b5)
type=
0.9
1.2
The TYPE attribute has three possible values: horizontal, vertical and block. These correspond to the three types of spacing control delineated above. The default value is horizontal. (Netscape 3.0b5)
horizontal
0.9
1.2
<spacer type="horizontal" size="70">The horizontal spacer inserts horizontal space between words. The width of the space is controlled by the SIZE attribute. (Netscape 3.0b5) This paragraph starts with the <spacer> tag but I stuck a <p>
tag in the middle to show that the implementation is not carried over to the next paragraph.
vertical
0.9
1.2
The vertical spacer inserts vertical space between lines. Implicit in this spacer is a line break to end the current line, then the vertical space is added before the beginning of the next line. The height of the space is controlled by the SIZE attribute. (Netscape 3.0b5)
This paragraph has <spacer type="vertical" size="70"> inserted at the end of the first sentence.
block
0.9
1.2
The block spacer behaves almost exactly like an invisible image. When using this type of spacer, the SIZE attribute is ignored, and instead the WIDTH, HEIGHT and ALIGN attributes are applied just as they would be for the <IMG> tag. (Netscape 3.0b5)
<spacer type="block" width="70" height="70" align="left"> and <spacer type="block" width="70" height="70" align="right"> are inserted at the beginning of this paragraph. Note: that the text of the paragraph is squished out the bottom. Resize your window to see the effect if it is not evident when you first view it.
width=
0.9
1.2
The WIDTH attribute only applied when the spacer is of type block. Then this attribute controls the absolute width in pixels of the spacing rectangle added. (Netscape 3.0b5)