blissdev
12-17-2002, 02:19 AM
i've been trying to add space after my div, but have been unsuccessful so far. When the content become vertically larger than the browser the browser stays tight with the bottom of the browser. How can i add space near the bottom?
http://insideautism.org
/* Defaults */
body {
margin: 0;
padding: 0;
}
/* Content */
#content {
position: absolute;
width: 710px;
height: auto;
left: 50%;
margin-left: -355px;
margin-top: 20px;
border: black 1px solid;
}
.header {
width: 100%;
background: #c0c0c0;
height: auto;
}
.nav {
width: 100%;
background: #003399;
height: auto;
}
.main {
width: 100%;
height: auto;
padding: 10px;
}
.footer {
position:relative;
bottom:0px;
width: 100%;
height: 18px;
background: #c0c0c0;
overflow: hidden;
}
http://insideautism.org
/* Defaults */
body {
margin: 0;
padding: 0;
}
/* Content */
#content {
position: absolute;
width: 710px;
height: auto;
left: 50%;
margin-left: -355px;
margin-top: 20px;
border: black 1px solid;
}
.header {
width: 100%;
background: #c0c0c0;
height: auto;
}
.nav {
width: 100%;
background: #003399;
height: auto;
}
.main {
width: 100%;
height: auto;
padding: 10px;
}
.footer {
position:relative;
bottom:0px;
width: 100%;
height: 18px;
background: #c0c0c0;
overflow: hidden;
}