您的位置:首页 > 其它

DIV相对于父DIV底部对齐的实现方法

2009-11-09 11:13 232 查看
<style type="text/css"> .box1 {border:1px #cccccc solid; width:500px; height:600px;position:relative;} .box2 {border-top:1px #cccccc solid; background:#f2f6fb; width:498px; height:22px; position:absolute; bottom:0;} </style> <div class="box1"> <div class="box2"></div> </div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: