HTML Codes

HTML Codes > Images
previous page <AREA onMouseOver="..."> <SPACER TYPE="..."> next page

<SPACER ...>

Usage Recommendation
Use it, but don't rely on it.

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

previous page <AREA onMouseOver="..."> <SPACER TYPE="..."> next page


Recommended: Link Popularity Software : WebPosition Gold : Google Cash : Arelis : Optilink : Search Engine Optimization Software : Search Engine Submission Software : Mike's Marketing Tools : Mike's Ecommerce Software : Search Engine Rankings : Link Popularity Checker : Cheap Domain Registration : Keywords