1. #primaryと#secondaryの両方に
padding-bottom: 10000px;
margin-bottom: -10000px;
と記入
2. 親要素の#mainに
overflow: hidden;
と記入。
親要素に高さが指定されていないと、反映されないので、
height: 100%;
と記入。
http://junonet.biz/web-design/632/
http://pentan.info/stylesheet/bug/winie068.html