Hallo , ich habe folgendes Problem:
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Langer Text.
CSS:
#mainmain{
width:1264px;
height:auto;
background: -moz-linear-gradient(top,#e2e2ff,#b4b4dd);
margin-left:-8px;}
#main{
font-family:Arial, Helvetica, sans-serif;
background-color:#FFF;
width:910px;
height:3100px;
margin-left:13%;
padding-left:10px;
padding-right:10px;
padding-top:10px;
padding-bottom:10px;
border-left:2px solid #5c5c9e;
border-right:2px solid #5c5c9e;
}
#mininavi{
margin-top:20px;
float:left;
width:149px;
height:auto;
border-right:1px solid #000;
}
ich will dass die Höhe bei #main auto ist , dass es sich auf den gesamten Text anpasst. Das funktioniert aber nicht. Wenn ichs auf auto stelle dann wird die Höhe gleich 0px gesetzt.
Kann mir jemand helfen?