Hi All,
I have been coding for some time and am usually good at searching the web for fixes but this latest issue is driving me nuts so perhaps someone can help or point me in the right direction?
I have a fairly simple site which pulls in content from a database into either 1 area or 2 areas depending on page.
Single area page example
[
dev.elleaunaturel.com...]
Relevant CSS for the page above which controls layout only is as follows.
html, body {
margin: 0px;
padding: 0px;
height: 100%;
}
#wrapper {
text-align: left;
margin-left: auto;
margin-right: auto;
width: 960px;
height: 100%;
}
#header {
width: 960px;
height: 70px;
}
#centercontent {
width: 960px;
height: 100%;
}
#box_full {
padding: 20px 20px 20px 35px;
float: left;
height: auto;
width: 905px;
}
Content for this page sits in DIV box_full which sits inside DIV centercontent. On the page above you fill see the height does not extend over the entire content. Also if the height is set to 100% in the box_full the DIV actually moves further up the page along with the footer.
I have tried combinations of height:100% and min-height:100% in the body, html and DIVs but to no avail. I'm sure this is a simple problem which can be easily fixed so any help would be hugely appreciated!
Thanks