100% CSS

Out of context: Reply #35

  • Started
  • Last post
  • 36 Responses
  • normal0

    Not sure why. Are you meant to clear floats?

    Yes, that is why you were having the problem. But also remember that clearing your floats works in this case because all of your div widths are defined in pixels and not percentages. Percentage defined floated divs start acting up in IE when you try to clear them and then you've got to resort (in my experience so far) to hacks.

View thread