Forum Moderators: not2easy
1) Floating the container as well
2) Setting a value of overflow to auto or hidden on the container.
3) Use the 'Easy Clearing' technique:
div#container { content: "."; clear: both; display: block; visibility: hidden; height: 0; } Number 3 only works in more advanced browsers (ie. not IE) but you can use it's hasLayout property for the same effect - if you're not seeing this problem in IE then you're already inadvertantly triggering it.