Spacing   --   Tiny   1x1   GIF   Trick

A compromise workaround for one of HTML coding's biggest shortcomings.



Tiny 1x1.GIF

   This is a 1x1 pixel white color GIF image file, which may be stored in a commonly accessible folder on your web-site.



HTML Syntax

   <img
       src="../image/Tiny1x1.GIF"
       style="width:???px; height:1px; border:0px;"
       info="ALWAYS include the height:1px spec in addition to the desired width spec, or else this trick won't work right.
       Also, always specify NO BORDER to keep the blank space clean.">

The width spec may be any appropriate pixel size.   The height spec   MUST ALWAYS BE   1px in order for this trick to work.

The folder location shown here is only one example of where the Tiny1x1.GIF can be located in one's web-site set-up.



Usage Examples     Use your browser's   Page Source   feature to view the HTML coding for this section.

1 • • ?   160 pixel spaces (width:160px;) between 1-dot-dot and the ? mark


2 • • ?   400 pixel spaces (width:400px;) between 2-dot-dot and the ? mark


3 • • ?   640 pixel spaces (width:640px;) between 3-dot-dot and the ? mark