I'm creating a Moodle site but am having a bit of trouble with the theme I'm using (I did ask over on the Moodle forums but had no response so I'm trying here).

The footer of my theme doesn't stick to the bottom of the browser window when there isn't enough content to fill it.

If I were building a site from scratch I could do it fine, but I can't edit the HTML div structure so am trying to work with what I have.

This is the HTML:

HTML Code:
<div id="page">

<div id="headerwrap"></div>

<div id="contentwrapper">

<div id="page-content"></div>


<div id="footerwrapper"></div>

Any suggestions would be welcome.