【文件属性】:
文件名称:一个上下左右都居中的CSS+html写法
文件大小:1KB
文件格式:HTML
更新时间:2014-01-27 10:27:05
css+html div上下左右居中
上下左右都居中的CSS+html写法,position:absolute;top:50%;margin-top:-50px;left:50%;margin-left:-50px;
网友评论
- 把高度写死了居中,不能自适应高度。。。