Using a Div like tables

how can I place a DIV at the bottom of all of my content. Just like if I had a table with three rows and the last one is the footer. I have tried

 #footer{ position:absolute; bottom:0px;}

wich works great in firefox and safari but it does not work in IE7. Can anyone tell me why this is happening. Thanks!