C
Cimbian
I have created a CSS site that has a footer spanning the bottom of the
viewport and whilst I have managed to glue it ot the bottom I have another
div that is behind it even though I think I have set-up the container
properly.
the troublesome page is http://www.cimbian.co.uk/BognorArchers/recurve.htm
and you will see that the bottom of the text in the main pane is obscured.
Basically I have a meta-wrapper for the whole page: and then have the main
content within it. Following on from the content I have the footer and then I
close the meta-wrapper. Something like this:
<div id="meta_wrapper">
<div id="BA_main_content_area" class="clearfix">
<div id="BA_Main_Full_Width">
</div>
<div id="footer">
</div>
</div>
My CSS for this is:
div#meta_wrapper { width: 760px;
margin-left: auto; margin-right: auto;
background-color: yellowgreen;
text-align: left;
position: relative;
min-height: 100%;
height: 100%;
voice-family: "\"}\"";
voice-family: inherit; }
html>body #meta_wrapper { height: auto; }
div#BA_main_content_area {width:760px;
align: center;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
font-size: 0.85em }
div#BA_Main_Full_Width { border:3px inset yellow;
font-family: Verdana; font-size: 0.85em;
text-align: justify;
position: relative;
width: 500px;
margin: 10px 30px 0px 10px;
padding: 3px;
background-color: #FFFFCC;
float: left; }
div#footer { position: absolute;
bottom: 0;
width:760px;
padding:4px 0;
font-size: 0.6em;
text-align: center;
background-color: white; /* Blue */
border-top:1px solid yellow; border-bottom:2px solid
yellow; margin-top:1.5em;} /* orange border */
As far as I can tell from much web-reading and a couple of books this should
do it.
Any thoughts?
viewport and whilst I have managed to glue it ot the bottom I have another
div that is behind it even though I think I have set-up the container
properly.
the troublesome page is http://www.cimbian.co.uk/BognorArchers/recurve.htm
and you will see that the bottom of the text in the main pane is obscured.
Basically I have a meta-wrapper for the whole page: and then have the main
content within it. Following on from the content I have the footer and then I
close the meta-wrapper. Something like this:
<div id="meta_wrapper">
<div id="BA_main_content_area" class="clearfix">
<div id="BA_Main_Full_Width">
</div>
<div id="footer">
</div>
</div>
My CSS for this is:
div#meta_wrapper { width: 760px;
margin-left: auto; margin-right: auto;
background-color: yellowgreen;
text-align: left;
position: relative;
min-height: 100%;
height: 100%;
voice-family: "\"}\"";
voice-family: inherit; }
html>body #meta_wrapper { height: auto; }
div#BA_main_content_area {width:760px;
align: center;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
font-size: 0.85em }
div#BA_Main_Full_Width { border:3px inset yellow;
font-family: Verdana; font-size: 0.85em;
text-align: justify;
position: relative;
width: 500px;
margin: 10px 30px 0px 10px;
padding: 3px;
background-color: #FFFFCC;
float: left; }
div#footer { position: absolute;
bottom: 0;
width:760px;
padding:4px 0;
font-size: 0.6em;
text-align: center;
background-color: white; /* Blue */
border-top:1px solid yellow; border-bottom:2px solid
yellow; margin-top:1.5em;} /* orange border */
As far as I can tell from much web-reading and a couple of books this should
do it.
Any thoughts?