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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embarcadero WebBroker REST server endpoint parameters 2 54
Bootstrap 3 icons 3 39
Bootstrap more than 12 columns in row 3 37
Wrapper for APPs 9 31
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now