I think the </a> has to go below what you've actually given us to work with. As the <div id="header-bg"> is still open when you reach the bottom of the page.