Posted By

darylclaudio on 06/10/09


Tagged

clear float hr


Versions (?)

HR "Invisible" float clearing


 / Published in: CSS
 

an all-purpose float-clearing hr.

  1. hr.floatclear {
  2. background: none;
  3. border: 0;
  4. clear: both;
  5. display: block;
  6. float: none;
  7. font-size: 0;
  8. margin: 0;
  9. padding: 0;
  10. overflow: hidden;
  11. visibility: hidden;
  12. width: 0;
  13. height: 0;
  14. }

Report this snippet  

You need to login to post a comment.