您的位置:首页 > 其它

让table 居于页面的正中间(上下左右均居中的方法)

2013-08-19 14:26 288 查看
?
<table bgcolor="#jnkc" 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>

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