<SPACER> | NN 3 IE n/a HTML n/a |
<SPACER> | End Tag: Forbidden |
As a solution to the need for creating blank space without forcing entities, incessant <P> tags, or transparent images, Navigator 3 introduced the SPACER element. This element creates empty space within a line of text, between lines, or as a rectangular space. Some of this functionality can be re-created in a cross-browser implementation with style sheets. | |
Example
<P>This is one line of a paragraph. <SPACER TYPE="vertical" SIZE=36> And this completes the paragraph with a three-line gap from the first line.</P> |
ALIGN | NN 3 IE n/a HTML n/a | ||
ALIGN=" | Optional | ||
Determines how the rectangle of the SPACER element aligns within the context of surrounding content. See the section "Alignment Constants" earlier in this chapter for a description of the possibilities. | |||
Example
<SPACER TYPE="block" HEIGHT=90 WIDTH=40 ALIGN="absmiddle"> | |||
Value Case-insensitive constant value. All constant values are available in Navigator 4. | |||
|
HEIGHT, WIDTH | NN 3 IE n/a HTML n/a | ||
HEIGHT=" WIDTH=" | Required | ||
The size that a block type SPACER element occupies in a document is governed by the HEIGHT and WIDTH attribute settings. These attributes apply only when the TYPE attribute is block. | |||
Example
<SPACER TYPE="block" HEIGHT=150 WIDTH=250> | |||
Value Positive integer values (optionally quoted). | |||
|
SIZE | NN 3 IE n/a HTML n/a | ||
SIZE=" | Optional | ||
The number of pixels of whitespace to insert either horizontally or vertically, depending on whether the TYPE attribute is set to horizontal or vertical. If the TYPE attribute is set to block, the SIZE attribute is ignored. | |||
Example
<SPACER TYPE="horizontal" SIZE=40> | |||
Value Any positive integer. | |||
|
TYPE | NN 3 IE n/a HTML n/a | ||
TYPE=" | Required | ||
Defines which of the three spacer geometries is being specified for the SPACER element. A type of horizontal adds empty space in the same line of text as the preceding content; a type of vertical adds empty space between lines of text; and a type of block defines a rectangular space that extends in two dimensions. For the horizontal and vertical types, the SIZE attribute must be assigned; for the block type, the HEIGHT and WIDTH attributes must be assigned. | |||
Example
<SPACER TYPE="horizontal" SIZE=40> | |||
Value Any of three case-insensitive constant values: block | horizontal | vertical. | |||
|