您的位置:首页 > 其它

让整个table居于页面正中间(上下,左右都居中)

2012-11-12 14:39 162 查看
<table width= "300 " height= "200 "

style= "position:absolute;z-index:1;left:expression((document.body.clientWidth-this.offsetWidth)/2);top:expression((document.body.clientHeight-this.offsetHeight)/2) ">

<tr>

< td>   </td>

</tr>

</table>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: