Log in

View Full Version : table borders



alexdog1805
04-13-2010, 09:24 PM
how can I make a table with only inside borders?

BLiZZaRD
04-13-2010, 09:37 PM
Well, do you mean you only want borders around the cells inside the table, or just around the outer <table> portion?

If the former, just you border attributes on your <td> or <tr> as needed. If they become jumbles you can also use the border-collapse: collapse; attribute. This will make touching borders into a single one.

If the latter, set each border (top, left, right, bottom) with a negative off set.