Click to See Complete Forum and Search --> : IE6 float model


ChiefNX
11-12-2006, 02:41 PM
Does anyone know any sites that have solutions and explanations concerning the (infamous) IE float/clear bug? Until now, it's never been a problem, but I could really do with something to help me.

Albatross
11-12-2006, 03:39 PM
I know this is going to sound crazy, but can you post the HTML/CSS that you have? Usually the solution will be an easy fix and won't require using <div class="clearfix"></div> (and applying clear: both;) to it), which I find to be completely unnecessary unless you're working with a 100% height document layout anyway.

Centauri
11-12-2006, 05:45 PM
Couple of interesting articles here....

http://www.howtocreate.co.uk/wrongWithIE/?chapter=Float+Model
http://www.positioniseverything.net/explorer.html

Cheers
Graeme

ChiefNX
11-13-2006, 06:33 AM
Yes you're right. 99% of the times that I've have errors with browser consistency, it's something completely arbitrary that I've either overlooked, or didn't consider related to the problem.

I've just gone back and had a look and all that needed doing was to set a height for the div.

Isn't dealing with IE's idiosyncrasies a pain? :p