...

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



kimmi_baby
02-08-2012, 03:56 PM
Hi,
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?

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

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

On the table element, mind you.

kimmi_baby
02-09-2012, 01:58 AM
thank you!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum