Another solution that works for every browser is to put another div inside your footer:
<div id='footer'>
<div id="footerContent">Contact me at <a href='mailto:admin@test.com'>admin@test.com</a></div>
<span style="float: right;">test</span>
</div>
Then you can style footerContent freely without interfering with the main div size.