×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Nicole Patten
Added: Jan 8, 2016 4:30 PM
Views: 10
Tags: clearfix
clearfix
  1.  .clearfix:after {
  2.    content: " ";
  3.    display: block;
  4.    height: 0;
  5.    clear: both;
  6.    *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML += '<div class="ie7-clear"></div>' );
  7. }
  8.  
  9. .ie7-clear {
  10.     display: block;
  11.     clear: both;
  12. }