hvolvo
05-21-2008, 07:23 AM
Hi,
I am creating a site for which i have created the header and footer in separate files to be included in all the pages. the problem is that the content of the page will be dynamically generated and so it wont have a fixed length.
I want the footer to appear at the end of the content, which happens, but when the content is too less and fits within the browsers visible space, i want the footer to appear at the bottom of the page and not immediately after the end of content.
then i added the following code to the footer.css file to keep it at the bottom
#footer
{
text-align:center;
font: 11px "Courier New", monospace;
clear:both;
position:absolute;
bottom:1em;
width:98%
}
but now it remains fixed at tha position and the extra dynamic content flows past it.
How to get what i want:(
SOMEONE PLZ HELP
I am creating a site for which i have created the header and footer in separate files to be included in all the pages. the problem is that the content of the page will be dynamically generated and so it wont have a fixed length.
I want the footer to appear at the end of the content, which happens, but when the content is too less and fits within the browsers visible space, i want the footer to appear at the bottom of the page and not immediately after the end of content.
then i added the following code to the footer.css file to keep it at the bottom
#footer
{
text-align:center;
font: 11px "Courier New", monospace;
clear:both;
position:absolute;
bottom:1em;
width:98%
}
but now it remains fixed at tha position and the extra dynamic content flows past it.
How to get what i want:(
SOMEONE PLZ HELP