好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

DIV1浮动在DIV2的底部中间_html/css_WEB-ITnose

问题: DIV 1 浮动在 DIV 2 的底部中间 ?

2个DIV 互不嵌套




回复讨论(解决方案)

 #main{width:300px; position: relative;}#div1{	 width:140px;	 border:1px solid #fcc;	 margin:0 auto;}#div2{	 border:1px solid #ccc;} #div3{ position: absolute;  height:20px; width:100%; bottom:0px;}  

div1

查看更多关于DIV1浮动在DIV2的底部中间_html/css_WEB-ITnose的详细内容...

  阅读:35次