Removing gap between HTML table columns

I am trying to get two columns within a row to be right next to each other with no space in between.
I've tried a few formatting tags but can't manage to get rid of that gap.

I got it working using divs and css but would like this done with html tables and columns

Any help appreicated.
Thank You
<html>
<head><title></title></head>
<body>
<table>
  <tr> 
     <td>
        <div>text</div>
     </td>
 
     <td cellspacing="0" border="0" cellpadding="0" style="margin:0px; padding:0px; width:10px; height:10px; background-color:#00000F">
     </td>
 
     <td border="0" cellpadding="0" cellspacing="0" style="margin:0px; padding:0px; width:10px; height:10px; background-color:#00FFFF">
     </td>
 
     <td>
        <div>text</div>
     </td>   
  </tr>
</table>
</body>
</html>

Open in new window

CoreNeterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gamebitsCommented:
<table cellspacing="0">

by default the browser add spacing between cell you have to tell him not too.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CoreNeterAuthor Commented:
thanks!
0
gamebitsCommented:
Thanks for the points and the grade.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

amuktaCommented:
How do we tell the browser not to add space between columns?

0
amuktaCommented:
I'm sorry! I got your answer...but even I do that, it's not removing the space between 2 columns.
0
gamebitsCommented:
Well the question has been answered in february 2008 it is a little late to come back for clarification. :)

Post another question and show the code you are using (including the css file) we might be able to figure out what is going on.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.