You need to specify the footer to clear the float:
#footer{
clear: both;
}
This forces it under floated elements.
Other options for clear are left and right.
Vincent Ramdhanie
2008-11-08 02:54:14
You need to specify the footer to clear the float:
#footer{
clear: both;
}
This forces it under floated elements.
Other options for clear are left and right.
Right now you're pretty hopeless if you don't want to float anything, nor use position: absolute.
The only alternatives left are: