Say I have some cells in a table, and I want to have each column to have a line at either side.
...But I only want a 1-pixel wide line.
At present, if I assign border-left and border-right CSS styles to a bunch of cells, I end up with the first cell having a 1-pixel wide line to the left, then each one after that having a pixel on either side - thus meaning there's a 2-pixel wide line between each column.
If I just have border-left or border-right, A line is missing from the start or end.
One solution seems to be to have a "final cell" style which has border-right, whereas the other cells just have border-left. This seems clumsy to me, and I just wondered if there was a "better" way...



Print Thread
deleted