IE7下浮动元素margin-bottom失效,给浮动元素后加一个<div class='clear'></div>,清除浮动。 .clear{ clear:both; overflow:hidden; }