DIV相对于父DIV底部对齐的实现方法
代码如下
<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:1;background-color:red;}
</style>
<div class="box1">
    <div class="box2"></div>
</div>
    ----------------
Lynx
The quieter you become,the more you are able to hear.
 
                    
                
 
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号