I am trying to develop a style for tables that leaves no gaps, padding, spacing, or borders between rows or cells. The style is:
.structure_table
{
border-spacing: 0;
border-style: none;
margin: 0;
padding: 0;
}
In trying to get it to work, I have added extra properties which have had no noticable effect:
.structure_table
{
border: 0;
border-spacing: 0;
border-style: none;
cell-spacing: 0;
display: table;
margin: 0;
padding: 0;
}
No matter what I do, I get a thin gap row between elements in my table. The cellspacing=0 attribute removes this gapspace. Does anyone know what css prpoerty will similarly remove this gapspace?Try using border-collapse: collapse;Thanks! That was exactly the answer I needed.You're welcome...
.structure_table
{
border-spacing: 0;
border-style: none;
margin: 0;
padding: 0;
}
In trying to get it to work, I have added extra properties which have had no noticable effect:
.structure_table
{
border: 0;
border-spacing: 0;
border-style: none;
cell-spacing: 0;
display: table;
margin: 0;
padding: 0;
}
No matter what I do, I get a thin gap row between elements in my table. The cellspacing=0 attribute removes this gapspace. Does anyone know what css prpoerty will similarly remove this gapspace?Try using border-collapse: collapse;Thanks! That was exactly the answer I needed.You're welcome...