DIV实现上下左右居中
<div style="border: 1 solid red;position: absolute;top:expression((this.parentElement.offsetHeight-this.offsetHeight)/2);left:expression((this.parentElement.offsetWidth-this.offsetWidth)/2);">center</div>
猜你喜欢
转载自oracleabc-126-com.iteye.com/blog/1028537
今日推荐
周排行