The table cell padding StyleVar is used as the value for the 'cellpadding' attribute of all tables in vBulletin. It controls the amount of margin shown between the content of a cell and its border.
At the default value of 6, a wide margin is apparent between the content of each cell and its surrounding border.Dropping the value to 3, we can see that the amount of padding around the content of each cell is halved from its width at the default value.By setting the cell padding value all the way down to 0, all padding is lost from cells, and we are left with a rather nasty-looking cluttered table where the cell borders actually touch the content within them.Example of $stylevar[cellpadding] in use:
<table class="tborder" cellspacing="1" cellpadding="$stylevar[cellpadding]"> <tr> <td class="alt1">First Cell</td> <td class="alt2">Second Cell</td> </tr> </table>
Note:
Do not add 'px' to the value of this StyleVar.