<SPACER ...>

Usage Recommendation
use it, but don't rely on it

  • TYPE: what type of space is this
  • ALIGN: align left or right
  • SIZE: how tall or wide
 

Occasionally you will find that you want to put some empty space into your document to spread things out. Frequently this has been done with <IMG ...> by using "invisible" images which are either entirely transparent, or are the same color as the background. Unfortunately, both of these methods are unreliable. <SPACER ...> is Netscape's answer to this need for including blank space in your document. <SPACER ...> is like an image, except that there is not actually a picture in the space where the image would be.

You must specify the spacer as one of three types: vertical; horizontal; and block, which is both vertical and horizontal. Use the TYPE attribute to do this.

Here's a few examples of <SPACER ...> using various attributes:

this code produces this
hey man hey man 
<SPACER TYPE=VERTICAL SIZE=100>
hey man hey man hey man
hey man hey man hey man hey man hey man
hey <SPACER TYPE=HORIZONTAL SIZE=100> man
hey man
<SPACER TYPE=BLOCK HEIGHT=50 WIDTH=50 ALIGN=LEFT>
text
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man
hey man hey man hey man





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.