ciao si il maxheigh non lo considera e il contenitore esce supera anche il footter
codice HTML:
html{
margin: 0;
padding:20px;
    background-color: #333333;
    background-repeat: repeat;
    
}
body
{
margin: 0;
position:relative;
    
}
div#container
{
position: relative;
width:930px; margin: 0 auto;
border-width: 0 1px; border-style:solid; border-color: #ccc;
background-color: #ffffff;
height:100%;
height:auto !important;
min-height:800px !important;
max-height:100% !important;
}
/*stili generici, su header e footer 
*/
div#header{height: 140px;
background-color:#36C;color: #ff0 ;
margin-top:20px;

}
.logoheader{background-image:url(images/img_template/header.png) ;
  color:#fff;
  min-height:140px;
  margin:0 !important;
}
#logo 
{
  color:#ededed;
  padding-left:50px;
  padding-top:30px;
  text-transform:none;
  font-family: Verdana, Arial, Helvetica;
}
.header1{
padding-left:70px; font-family: Verdana, Arial, Helvetica; color:#ededed;
}

div#footer a{color:#fff;font-weight: bold;text-decoration: underline}
div#footer{
 padding: 5px 0;
 position:absolute; bottom:0; 
 width:100%; 
background: #d1e2f1 url(./../../templates/default/images/img_template/footbg.png) repeat-x top left;
background-color: #69c; color: #fff; text-align:right;}