this are my
css codes..
- Code: Select all
body {
background-image:url(../images/bg2.jpg);
background-repeat: repeat-x;
background-position: bottom;
background-attachment: fixed;
height:100%;
}
#wrapper {
margin: 0 auto;
width: 800px;
position: relative;
height:100%;
}
#topbar {
width: 800px;
height: 170px;
position: absolute;
top: 0px;
z-index: 0;
left: 0px;
}
#main {
width: 800px;
height:100%;
min-height:400px;
max-height:800px;
position: absolute;
background-color:#FFFFFF;
top:170px;
left: 0px;
bottom:0;
}
the wrapper contains the topbar and the main div, and i want to make the wrapper and the main divs expandable in height depends on their contents. is it possible? and also please correct my codes if you see errors. thanks again!!