I create \"normal\" table and all TD\'s have \"border: 1px solid #e6e6e6\" and \"margin: 0\". TR and TABLE have too \"margin/padding: 0\" but I still have space between TDs
Use cellspacing and cellpadding :
<table cellspacing="0" cellpadding="0">
</table>
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;
}
Could you try this ?
table#table {
border-spacing: 0;
}
This piece of css works for me. Hope it helps :).
Since cellspacing
and cellpadding
are no longer supported in HTML5, use the following CSS:
table {
border-collapse: collapse;
}
jsfiddle
Try this answer too
table.tableclassname td
{
display: inline-block;
}