Space between <td>. Why and how can I remove?

Use cellspacing and cellpadding :

 <table cellspacing="0" cellpadding="0">

 </table>

Could you try this ?

table#table {
    border-spacing: 0;
}

This piece of css works for me. Hope it helps :).


After much trial and error, I ended up using most of what everyone else mentioned plus some from other sites. This worked for me.

table {
border:0px;
border-collapse:collapse;
border-spacing:0px;
}

td,img { 
padding:0px; 
border-width:0px; 
margin:0px; 
}

Since cellspacing and cellpadding are no longer supported in HTML5, use the following CSS:

table {
  border-collapse: collapse;
}

jsfiddle

Tags:

Html

Css

Styles