ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
Last Update: 5 January 1998

7.11 SPACER Element (Netscape 3+ only)

SPACER introduces arbitrary horizontal or vertical spacing within typed text. SPACER can take several attributes. TYPE, which is mandatory, specifies the type of spacer: TYPE="block" is analogous to a transparent (invisible) image of size HEIGHT and WIDTH, and allows insertion of a horizontal and vertical block. TYPE="horizontal" introduce simple horizontal tab-like spacings withlength specified by SIZE. TYPE="vertical" introduces a vertical tab, again with size specified by SIZE -- however, this tab also causes a line break.

SPACER is only understood by Netscape Navigator 3 and greater. Be careful with SPACER -- documents that depend on SPACER to look good will look very bad when SPACER is not supported.

An example of a spacer is:

  <SPACER TYPE="block" WIDTH="40" HEIGHT="44">

ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
© 1994-1998 by Ian Graham
Last Update: 5 January 1998