I have a table with a colored background, and I need to specify the indentation between the table and its contents, IE cells.
The table tag does not seem to accept the value of the pad.
Firebug shows the theta table and form with a padding of 0, but does not accept the values โโentered for them, so I think they just don't have a padding property.
But the fact is that I want the same separation between the cells than the upper cells with the table and the lower cells with the table below.
Again, what I want is not adding cells.
EDIT: Thank you for what I really need, I understand now, was the border spacing or its equivalent html, cellpacing.
But for some reason, they are not doing anything on the site I'm working on.
Both work fine on separate HTML, but they donโt.
I thought it might be some kind of style rewriting property, but the cell binding and the built-in spacing between borders should not be overwritten, right?
(I am using firefox)
EDIT 2: No, TD padding is NOT what I need. With TD padding, the upper and lower gaskets of adjacent cells are summed, so that there is half as much space (overlay) between two cells than between the upper cell and the upper border of the table. I want to have exactly the same distance between them.
html css padding cell tablelayout
Petruza Nov 17 '09 at 18:00 2009-11-17 18:00
source share