South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Ah... the good old days of table nestingIf possible, simply switch to div layouts, much less code to worry about. Another way (if the columns are a set width) would be to apply a simple y-tiling background image, that way the separating line can be a different design and you're not restricted to the border types.
Or what you could do is 'nesting'.
Instead of having one table with two columns and styling each cell in the left column, create a 2 column 1 row table and then inside the left column of that 'parent' table create a 1 column 5 row table and do the same for the right column. That way you only have to apply the border style to the left cell of the parent table.
Thanx guys, even though code examples would help but will give these a try and make judgments. I noticed though if i try coloring the right border of each cell, i get a dash line, not a solid vertical line.. Maybe i have to play with my cellpadding/cellspacing
You could create a table with 1 row and 2 columns then in the <td> of the left put in your style to put a border-right. Then in the left cell create a table with 1 column and 5 rows and in the right also a table with 1 column with 5 rows. The end result is available for you at http://www.web9.co.za/tutorials/5-rows-2-columns.html you can just view source to see what is going on.