PDA

View Full Version : Overriding Cellpadding


sabret00the
01-13-2004, 09:54 PM
Is there a way to over-ride the tables cellpadding setting on a single row/cell?

<table style="background: #3B5078;" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" >
</if>
<tbody>
<tr height="2">
<td height="2" bgcolor="#4F6BA0" style="height: 2px;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"></td>
</tr>
that row that i've set to display at 2pixels refuses to render 2px high on FB due to the tables cellpadding

i managed to get height working cross browser on other cells?

attachment 1 is the height tag working

and attachment 2 is the headache due to the cellpadding being set elsewhere.

sabret00the
01-14-2004, 05:56 PM
ok this how now become a really huge problem that i am desperate to get out of the way, someone please help me.

sabret00the
01-15-2004, 07:50 AM
the power of css
style="padding: 0px;" w00t