html{
    height:100%;
}
body{
    height:100%;
}
* html div#container{
    height:100%;
}
div#container{
    width: 80%;
    margin:0px auto;
    position:relative;
    min-height: 100%;
}
body > #container {
        height: auto;
}
div#main{
    padding-bottom:50px;
}
#foot{
    position:absolute;
    bottom:0px;
    height:80px;
    width:100%;
}