This isn't clear. Are you using the default template? In the default template, the footer is contained in the file tpl/default/footer.html and it is inserted at the very bottom of main.php with this statement:
<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
Normally, this puts it at the very bottom of the page.