Nate Pet Nate Pet - 8 months ago 39
HTML Question

HTML table needs spacing between columns, not rows

I have an HTML table.
I need to have spacing between the table columns, but not the table rows.

If I use the

css property it does it between both rows and columns. I also cannot use css in what I doing. I need to use pure html


If you can use inline styling, you can set the left and right padding on each td.. Or you use an extra td between columns and set a number of non-breaking spaces as @rene kindly suggested.

Both are pretty ugly ;p css ftw