IE7 table border spacing bug

Have just spent the last twenty minutes on this annoying IE7 table cell spacing bug:

IE7 table spacing bug

There should be no spacing. Surprisingly.

Through the miracles of a Google search I found Robert Accettura’s blog post entitled IE7 Table Border Bug? which had the simplest of solutions at top of the comments.

td, th { position: relative; }

Whether this has a knock-on effect further down the road we’ll have to wait and see but for the moment it looks… wait for it… relatively safe.

Ho Ho Ho.

Please kill me now…1

1 Note to anyone with a murderous intent: Please don’t kill me now.