skip to table of contents

Unexpected Gaps

There are gaps between elements that just seem to defy all logic. You've removed every bit of margin or padding between the elements, and it's still there.

  • There's that container that just won't butt up against the one above it.
  • The image that seems to have some sort of padding or margin, and there just isn't either one.
  • The menu that seems to have an extra line feed between each item.

These are the common gaps that give us tired head. The first two are actually proper behavior. It's just a matter of understanding why they're there, and just what our work-around options are. The third issue is more of an IE bug, but we'll look at it this section.

Table of Contents