Table with gaps

Posted on 2006-07-13
Last Modified: 2010-05-18
I am trying to create a table that has no gaps between the cells. I am just using background colors to make colored squares. When I see the table in a browser, there are always gaps between the cells...

Any idea on how to remove the gaps?

Below is some source...

<TABLE border="0" cellspaceing="0" cellpadding="0">
<TR><TD width="100" height="100" bgcolor="#9c9c00 ">&nbsp;</td><TD width="100" height="100" bgcolor="#9c9c00 ">&nbsp;</td><TD width="100" height="100" bgcolor="#9c9c00 ">&nbsp;</td></TR>
Question by:stakor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Expert Comment

ID: 17104574
first off, it's cellspacing  no "e"  otherwise, I'll get you a brief template to help you.

Accepted Solution

koolie earned 351 total points
ID: 17104594
If you remove the "e" you will see no gaps in your table.

Author Comment

ID: 17104680
Yup, a typo. It was driving me mad. But sometimes you just can't see your own typos...


Expert Comment

ID: 17104834
I'm not sure what you use to write your code with, but I would highly suggest Dreamweaver.  If that's way out of your budget, a program like Coffee Cup Editor  helps pick up on typos.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 116
html form layout 4 53
Making Table Thru ASP Response.write 5 39
adding straight up HTML to drupal 7 2 9
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question