Ariciao semplifico il codice che mi trovo davanti eliminando tutte le parti .NET e suddividendo per colori le varie zone che ho
footer deve essere sempre in basso in relazione a container
quindi il css di footer va modificato
codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CHS</title>
<style type="text/css">
<!--
html, body {
width: 100%;
height:auto;
margin: 0px;
padding: 0px;
background-image:url(../../Images/bg.jpg);
background-repeat:repeat-y;
background-position:center;
font-family: verdana;
font-size:11px;
color:#3F3F3F;
}
.login {
height:auto;
margin-top:100px;
margin-left:-150px;
padding: 0;
position:absolute;
overflow: auto;
left:50%;
}
.container {
height: auto;
width: 900px;
margin-top:95px;
margin-left:-450px;
padding: 0;
position:absolute;
left:50%;
background-color:#FF0000;
}
.footer {
width: 900px;
height: 20px;
margin-left:-450px;
padding: 0;
position:absolute;
left:50%;
bottom:10px;
background-color:#dcdcdc;
border: 0;
}
#testata-sx {
width: 212px;
height: 65px;
margin-left:-450px;
padding: 0;
position:absolute;
left:50%;
background-color:#FF0000;
border: 0;
}
#testata-centro {
width: 395px;
height: 65px;
margin-left:-238px;
padding: 0;
position:absolute;
left:50%;
background-color:#FFff00;
background-repeat:repeat-x;
border: 0;
}
#testata-dx {
width: 293px;
height: 65px;
margin-left:156px;
padding: 0;
position:absolute;
left:50%;
background-color:#FF0000;
border: 0;
}
#menu {
width: 900px;
height: 20px;
margin-top:66px;
margin-left:-450px;
padding: 0;
position:absolute;
left:50%;
background-color:#dcdcdc;
border: 0;
}
-->
</style></head>
<body>
<div id="testata-centro">
</div>
<div id="testata-sx">
</div>
<div id="testata-dx">
</div>
<div id="menu">
</div>
<div class="container">
</div>
<div class="footer">
</div>
</body>
</html>
chi mi aiuta???