Click to See Complete Forum and Search --> : Overflow?


le007
11-10-2006, 12:38 PM
Hey all,
using overflow:auto; my div expands to a footer div -
using margin-bottom:5px; doesn't work in IE to have a small gap between divs -
works fine in firefox?

WebJoel
11-10-2006, 06:32 PM
Hey all,
using overflow:auto; my div expands to a footer div -
using margin-bottom:5px; doesn't work in IE to have a small gap between divs -
works fine in firefox?

IE doesn't recognize margin-bottom if it's used on the BODY (and possibly other containers??). -Use padding-bottom:5px; instead to 'fake' the effect that you want.

le007
11-10-2006, 10:15 PM
Awesome, thanks Joel - will try it now