footer.js Put the footer where it should be, just in one step. A simple line to prevent headaches $("footer").footer(); That's it! But do not forget to include the plugin: <script type="text/javascript" src="jquery.footer.js"></script> :)