Table Tutor - Hey, there's sp aces in my ta ble!

> There are a few reasons why there may be spaces in your tables...
> 1. Table 1 - First, this is a table with no spaces.

> 2. Table 2 - One reason is not setting `CELLPADDING` and `CELLSPACING` to 0. The usual defaults are usually 1 and 2 respecively.

> 3. Table 3 - The most common reason are carriage returns within the cells:

>    Change this:
>    `<TD>`
>    `<IMG>`
>    `</TD>`

>    To this:
>    `<TD><IMG></TD>`

>    Or, change this:
>    `<TD>`
>    `<IMG>`
>    `<IMG>`
>    `<IMG>`
>    `</TD>`

>    To this:
>    `<TD><IMG><IMG><IMG></TD>`

>    If you want to add carriage returns, do it within the tags themselves rather than between them:

>    `<TD`
>    `property1="0"`
>    `property2="0"`
>    `property3="0"><IMG`
>    `attribute1="0"`
>    `attribute2="0"`
>    `attribute3="0"></TD>`

> 4. Table 4 - If you use the images as links, you'll want to make sure that the attribute `BORDER="0"` is in the image tag or you might get not only spaces, but blue boxes around the sections (blue or whatever your link color is). Actually, it is good practice to include `BORDER="0"` in there anyway, because some browsers may default at 1.
> Keep in mind that these things can be happening one at a time, or in combination. Also, even with these three direct causes eliminated, you may find that something else is causing the problem indirectly.

General Table of Contents | Lessons Intro - 1 - 2 - 3 - 4 - 5 - 6 - 7 | Quick Reference | Barebones HTML Guide
PROFESSIONAL WEB DESIGN