Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

Invisible Spacers

  • Another useful tool in your layout toolbox is the invisible spacer .GIF.

  • An invisible spacer .GIF is a one pixel by one pixel square with a transparent background that can be used to space things according to exact pixel locations.

  • Because the spacer is invisible, it will look as if, you have a greater degree of control over the positioning of text.

  • For example, consider the following example:

    Here is some regular text
    Here is some text that has apparently been tabbed over. How could you do this with regular HTML? The answer is that you could not.

  • So how did we get that tab effect?

  • Well simply, we used our invisible spacer .GIF with the following code:
Here is some regular text
<BR><IMG SRC = "dot_clear.gif" 
            BORDER = "0" 
            WIDTH = "40" HEIGHT = "1">
Here is some text that has apparently been 
tabbed over.  How could you do this with regular HTML?  
The answer is that you could not.

  • In the next example, we will put a one pixel border around the spacer so you can see it in action:

    Here is some regular text
    Here is some text that has apparently been tabbed over. How could you do this with regular HTML? The answer is that you could not.

  • You can also use the spacer .GIF to create vertical space as well. Check out this usage (We will keep the border around the spacer so you can see what is happening:

    Here is some regular text
    Here is some text that has apparently been tabbed over. How could you do this with regular HTML? The answer is that you could not. [1]

  • You will very often wish to have more control over the extra space between paragraphs than afforded by the <P> tag.

  • Note that you can grab the invisible spacer .GIF used on this page and download it to your local Images directory for your own use. It is on the house.

Editorial Notes
Tables Inside of Tables
Introduction to Web Design | Table of Contents
Exercise Ten


Up to => Home / Authoring / HTML / Tutorial




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers