I’ve been searching for a few days, but I haven’t found a solution to my problem. How do I get my parent DIV to expand to contain all of my content beyond the viewport?
CSS:
[code]--------------------------------------------------------------------------------
html {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
min-height: 100%;
}
body {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
min-height: 100%;
}
.page {
background-color: #dddddd;
margin-left: -390px;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
border-right-style: solid;
border-left-style: solid;
border-top-color: #9CB0C0;
border-right-color: #9CB0C0;
border-bottom-color: #9CB0C0;
border-left-color: #9CB0C0;
position: absolute;
height: 100%;
min-height: 100%;
width: 780px;
left: 50%;
top: 0;
}
.header {
position: absolute;
height: 158px;
width: 764px;
background-color: #FFFFFF;
left: 7px;
top: 0px;
}
.content {
position: absolute;
left: 7px;
top: 159px;
background-color: #9CB0C0;
height: 821px;
width: 764px;
margin-bottom: 34px;
}
.footer {
background-color: #415569;
height: 34px;
width: 764px;
left: 7px;
bottom: 0px;
}--------------------------------------------------------------------------------[/code]
And the HTML:
[code]--------------------------------------------------------------------------------<?xml version="1.0" encoding="iso-8859-1"?>
Untitled DocumentThis has been driving me crazy for days! Hopefully some of you pros can sort this out for me.
Thanks,
Brent