急,团购版面文字发生无法对齐???

2016-07-07 16:38 来源:www.chinab4c.com 作者:ecshop专家

急,团购版面文字发生无法对齐???请问各位高手在那里调整。谢谢

2.jpg (36.33 KB)

2.jpg


回答:
修改 group_buy_list.dwt 此页面中的如下代码(标识为红色的地方):
<!-- {foreach from=$gb_list item=group_buy} 循环团购活动开始 -->
<table width="94%" border="0" cellpadding="5" cellspacing="1" class="group-goods-list">
<tr>
<td width="20%" align="center"><a href="group_buy.php?act=view&id={$group_buy.group_buy_id}"> <img src="{$group_buy.goods_thumb}" border="0" alt="{$group_buy.goods_name|escape:html}" style="vertical-align: middle" class="thumb" /></a> </td>
<td valign="top"><table border="0" align="left">
<tr>
<td align="right" width="100" >{$lang.gb_goods_name}</td>
<td width="250"><a href="group_buy.php?act=view&id={$group_buy.group_buy_id}" style="color:#0328C1; font-size:14px;">{$group_buy.goods_name|escape:html}</a></td>
</tr>
<tr>
<td align="right">{$lang.gb_start_date}</td>
<td>{$group_buy.formated_start_date}</td>
</tr>
<tr>
<td align="right">{$lang.gb_end_date}</td>
<td>{$group_buy.formated_end_date}</td>
</tr>
<tr>
<td align="right" valign="top">{$lang.gb_price_ladder}</td>
<td valign="top"><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#dadada">
<tr style="background-color:#eee;">
<td align="center">{$lang.gb_ladder_amount}</td>
<td align="center">{$lang.gb_ladder_price}</td>
</tr>
<!-- {foreach from=$group_buy.price_ladder item=item} -->
<tr>
<td align="center" bgcolor="#FFFFFF"><font color="#E44087">{$item.amount}</font></td>
<td align="center" bgcolor="#FFFFFF"><font color="#E44087">{$item.formated_price}</font></td>
</tr>
<!-- {/foreach} -->
</table>

二楼厉害..