让整个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>
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>
相关文章推荐
- 让整个table居于页面正中间(上下,左右都居中)
- 让整个table居于页面正中,(上下左右居中)。
- 让table 居于页面的正中间(上下左右均居中的方法)
- 让一个表格在整个页面中上下左右都居中
- html页面中图片自适应容器大小且上下左右居中插件
- div页面居中(上下左右)
- vb.net写ASP.NET 第二个问题是如何设置table让他上下左右都居中呢??
- div+css:页面整体布局居中显示:上下居中||垂直居中,左右居中||水平居中
- 一个div层在页面上下左右居中以及数据的排序
- table 中信息上下左右 居中
- QT窗体上下左右都居中
- 图片自适应父元素大小,并左右上下居中的css方法
- 一个简单的页面,设置背景图平铺、table布局居中、响应式布局及响应式布局中em尺寸单位使用
- 纯CSS实现上下左右都居中的代码
- html图片上下左右居中
- loading上下左右居中
- 一个上下左右都居中的非table的纯CSS实现代码
- html页面中关于一个table表格中设置上下2个td宽度一致的问题
- 多行文字在一个div中上下左右居中
- Android TableFixHeaders 最后添加一行计算总和,上下不能滑动,左右可以滑动