Why do
s clear floats?

后端 未结 2 1611
再見小時候
再見小時候 2020-11-30 08:18

Consider the following test case, in which a floated and an inline element are placed inside a

versus a
:



        
2条回答
  •  长情又很酷
    2020-11-30 08:24

    Set height for wrapper div;

     
         
       
      
         
     
    Inline!
    Float!
    Inline!
    Float!
    Inline!
    Float!
    Inline!
    Float!

提交回复
热议问题