Spacer

Support Key: [2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson =
Main Index | Element Tree | Element Index | HTML Support History



   Quick Statistics   
End Tag:
   Omitted
Standards Details:
NA
XHTML Modules:
NA
CSS 'display' Type:
"inline" (replaced element)
CSS Mapping:
NA
Default Rendering:
Element is replaced with a transparent blank space of the specified dimensions
Official Docs:
Netscape 3.0 Release Notes

What is it?
The SPACER element attempts to give the author more control over white space in HTML documents. The author can control horizontal-only spacing, vertical-only spacing, or block spacing (vertical and horizontal) as well.

Common Attributes
%Core%
[2|3|3.2|4] [X1|X1.1] [IE|M|N6-6.2|O]
%Accessibility%
[2|3|3.2|4] [X1|X1.1] [IE|M|N6-6.2|O]

Specific Attributes
Align
[2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
Standards Details: NA
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls alignment of the surrounding text relative to the spacing block.
Values:
   Left | Right | Top | Texttop | Middle | Absmiddle | Baseline | Bottom | Absbottom
Height
[2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
Standards Details: NA
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls the pixel height of the Block [Rectangle] SPACER element.
Values: Positive integers.
Size
[2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
Standards Details: NA
Required? No
Description:
This attribute only applies when the SPACER has a TYPE of Horizontal or Vertical. It controls the pixel width or height of the SPACER element.
Values: Positive integers.
Type
[2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
Standards Details: NA
Required? Yes
Description:
The values for TYPE allow different types of control over whitespace spacing.
Values:
   Horizontal: [DEFAULT] This TYPE inserts horizontal space between text or content objects. The amount of space is specified by the SIZE attribute. Other SPACER attributes will be ignored.
   Vertical: This TYPE inserts vertical space between lines. The amount of space is specified by the SIZE attribute. Other SPACER attributes will be ignored.
   Block: This TYPE behaves exactly like a transparent image. When this type is used, the SIZE attribute will be ignored and Height, Width and Align will be analyzed in its place.
Width
[2|3|3.2|4] [X1|X1.1] [IE|M|N3B5-6.2|O]
Standards Details: NA
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls the pixel width of the Block [Rectangle] SPACER element.
Values: Positive integers.
Example
<spacer type="block" align="left" width="100" height="100" />
This is text that began with a SPACER element. Do you like it?
<br clear="left" />
Parent Model
%In-line Parent% | %Block Parent%
Content Model
This element does not accept any content
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...