1
Hello. Below code is from my theme.html. As you can see, I have valign=top for all the tables and td's for the center column. But the blocks in center column are still being shown as valign=middle. You can see the example on my site
http://www.peachpie.netI am trying to valign all the center blocks to the top. What modification do I have to make?
<table cellspacing="0">
<tr>
<td id="headerbar2"><img src="/radio/images/peachpielogo.jpg"></td>
</tr>
</table>
<table cellspacing="0">
<tr>
<td id="leftcolumn"><br>
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="flower/theme_blockleft.html"}><br>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td id="centercolumn" valign="top">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0" valign="top">
<tr>
<td id="centerCcolumn" colspan="2" valign="top">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="flower/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<tr>
<td id="centerLcolumn">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="flower/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td><td id="centerRcolumn">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="flower/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content">
<{$xoops_contents}>
</div>
</td>
<{if $xoops_showrblock == 1}>
<td id="rightcolumn"><br>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="flower/theme_blockright.html"}><br>
<{/foreach}>
<!-- End right blocks loop -->
</td>
<{/if}>
</tr>
</table>