<SPACER ...>
| Usage Recommendation |
| use it, but don't rely on it |
TYPE: what type of space is thisALIGN: align left or rightSIZE: 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 |
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.
InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050
More information can be found at the
InMotion Hosting Main Site
|
|
|