Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<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

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire