Posted By


a1ias on 07/28/11

Tagged


Statistics


Viewed 504 times
Favorited by 0 user(s)

Clearfix (IE included)


/ Published in: CSS
Save to your folder(s)

Many of you know about .clearfix method for correcting heights when you use floats. Well, in many of these cases, that amount of code could be replaced by just two lines


Copy this code and paste it in your HTML
  1. .clearfix {
  2. zoom:1;
  3. overflow:hidden;
  4. }

URL: http://www.1stwebdesigner.com/css/17-css-html-effects/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.