View Full Version : How do I add a border to a table row?

02-08-2012, 02:56 PM
I want to add a border to a table row. I have done a little bit of research and I'm finding it isn't possible to add a border to <tr>. A few places suggest to add a border to td instead. My problem with this is that I have a 2 column table. When I add the border to td, there is a tiny gap in between the 2 columns. It's not very big but it's definitely noticeable.

Any suggestions on how to fix this?

02-08-2012, 06:02 PM
border-collapse : collapse;

02-08-2012, 07:23 PM
border-collapse : collapse;

On the table element, mind you.

02-09-2012, 12:58 AM
thank you!