overflow:hidden

Google caching my brain, please disregard.

When using overflow:hidden to clear floats, IE 6 may need you to give the element a width or height (often 100% works fine).

Comments

2 Comments so far. Leave a comment below.
  1. Michele Gerarduzzi,

    overflow:hidden and height: 1% usually work fine for me

  2. david,

    Yeah, seems IE 6 just needs a dimension of some sort. I understand it has to do with hasLayout induced oddness.

Add Your Comments

Disclaimer
Your email is never published nor shared.
Required
Required
Tips

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <ol> <ul> <li> <strong>

Ready?