Click to See Complete Forum and Search --> : Whats wrong with these floats?


mumford
03-24-2005, 10:04 AM
Hi

I have floated two boxes next to each other http://www.sussexfind.co.uk/test/ (left and right) I have put a class "clr" after them, when viewed in IE the gap between the footer and the rounded boxes is greater than when viewed in Firefox.

Does anyone know why this is?

Thanks

NogDog
03-24-2005, 11:26 AM
Usually this sort of thing happens when you have not set explicit margins and/or padding for one or more of the elements involved, and different browsers assume different default values this.

Fang
03-24-2005, 01:08 PM
It's a problem with the rb-greytop/bottom images appling double margins.
Take them out and the 'gap' disapears.