I’m working on a HTML5 web site and need a way to have borders on the TD tags without using the cellpadding and cellspacing attributes like I usually implement.  After some googling I found a solution here.  The answer does not mention HTML5 specifically but it worked like a charm.

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