PDA

View Full Version : Refusing to align to the top.


MrApples
10-17-2007, 11:24 PM
In every row, data, and the table it self I have put valign="top" align="center", yet the data refuses to align to the top. This is for vba cmps's front page, so it is supposed to align to the top in the first place, yet it refuses to.

Full code, in case it's needed.
<table valign="top" align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
<if condition="$show['left_column']">
<tr valign="top" align="center">
<td rowspan="2" valign="top" align="center" width="$vba_style[portal_leftcolwidth]" style="padding-$stylevar[right]: $vba_style[portal_colspacing]px">
$home[leftblocks]
</td>
<td colspan="2" valign="top" align="center">$navbar</td>
</tr>
</if>
<tr valign="top" align="center">
<if condition="$show['center_column']">
<td valign="top" align="center">
$home[centerblocks]
</td>
</if>
<if condition="$show['right_column']">
<td valign="top" align="center" width="$vba_style[portal_rightcolwidth]" style="padding-$stylevar[left]: $vba_style[portal_colspacing]px">
$home[rightblocks]
</td>
</if>
</tr>
</table>

Analogpoint
10-18-2007, 12:58 AM
Do you have any css that might be overriding the valign="top" ? try adding style="vertical-align:top;" to a cell and see if it does anything.