zero margins in tables, as in really none

Technology can be cruel. Spent hours this morning to figure out how to really get rid of all extra spacing in tables. Of course one has to set

margin: 0;
padding: 0;

But these was still an extra little space that bugged me. Good thing is it to have friends that know more than Google. Adib knew that the magic line would be:

border-collapse : collapse;

And, et voila, it works in FF 1.5 and safari 2.0 under OS X.

Leave a Reply

You must be logged in to post a comment.