Ebola
02-25-2008, 02:31 AM
I don't really have a problem, but when I was working on a project the other day I had split a large list of child directories into two divs, one floating left, one floating right. This worked fine, but because a form I had below these two lists was bleeding into the bottom of the right div I placed it in a div as well, and floated it left.
Now at first this seemed to work fine, it looked as I wanted it to but when I clicked on one of the links listed in the two divs I wouldn't go anywhere and the placement would break. The right div would go completely beneath the left div, though off to the right, as though I had made it too wide and it was forced down. Once the placement broke I could click the links and they would work fine.
Once I removed the float:left attribute of the div surrounding the form everything was fine (Except some of the text describing the form bleeding into the right category of child divs).
Does anyone know what caused this or how it can be corrected? I've since re-structured the page so this isn't a problem but I would really like to know why this happened.
Now at first this seemed to work fine, it looked as I wanted it to but when I clicked on one of the links listed in the two divs I wouldn't go anywhere and the placement would break. The right div would go completely beneath the left div, though off to the right, as though I had made it too wide and it was forced down. Once the placement broke I could click the links and they would work fine.
Once I removed the float:left attribute of the div surrounding the form everything was fine (Except some of the text describing the form bleeding into the right category of child divs).
Does anyone know what caused this or how it can be corrected? I've since re-structured the page so this isn't a problem but I would really like to know why this happened.