Posted By

savintsev on 07/14/09


Tagged

css clear floar


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

thadwheeler


CSS float


 / Published in: CSS
 

  1. .newBFC {overflow: hidden;
  2. _overflow: visible;
  3. _overflow-x:hidden;
  4. _height: 0;
  5. }
  6.  
  7. /*\*//*/
  8. .newBFC {display: inline-block;}
  9. /**/
  10.  
  11. <div class="newBFC">
  12. <div class="floater">
  13. This text won't extend past the bottom of the "newBFC" div.
  14. </div>
  15. </div>

Report this snippet  

You need to login to post a comment.