请问下面的代码中,bg1的图片如何才能显示在“长度为4~12位,由字母,汉子和数字组成”的右边呢? 因为出来的效果是出现在background的左下角<style type="text/css"?>
.bg { background:url(img/bottom1.jpg) no-repeat; width: 925px; height:379px;}
.bg1 { background:url(img/fangxiang.jpg) no-repeat; width: 30px; height:89px;}
</style><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bg" style="margin-left: 20px; padding-left: 20px;">
<tr>
<!-- right part -->
<td>
<tr style="padding-top: 80px;">
<td>姓名:</td>
<td><input type="text" name="name">长度为4~12位,由字母,汉子和数字组成 </td>
</tr>
<tr>
</tr>
</td>
<!--center part-->
<td class="bg1" style="">
</td>
<!--right part-->
<td>
</td>
</tr>
</table>
.bg { background:url(img/bottom1.jpg) no-repeat; width: 925px; height:379px;}
.bg1 { background:url(img/fangxiang.jpg) no-repeat; width: 30px; height:89px;}
</style><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bg" style="margin-left: 20px; padding-left: 20px;">
<tr>
<!-- right part -->
<td>
<tr style="padding-top: 80px;">
<td>姓名:</td>
<td><input type="text" name="name">长度为4~12位,由字母,汉子和数字组成 </td>
</tr>
<tr>
</tr>
</td>
<!--center part-->
<td class="bg1" style="">
</td>
<!--right part-->
<td>
</td>
</tr>
</table>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货