使用绝对定位,一定不会跑.
但是注意,所有绝对定位的元素,必需包含在一个相对定位的元素中,这样IE改变大小时才不会有偏移动
比如<center>
<table width="100" style="position: relative" align="left" height="100">
<tr>
<td>
<img border="0" src="img.gif"style="position: absolute; left: 15px; top: 20px">
</td>
</tr>
</table>
</center>
但是注意,所有绝对定位的元素,必需包含在一个相对定位的元素中,这样IE改变大小时才不会有偏移动
比如<center>
<table width="100" style="position: relative" align="left" height="100">
<tr>
<td>
<img border="0" src="img.gif"style="position: absolute; left: 15px; top: 20px">
</td>
</tr>
</table>
</center>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货