This is a personal note for me (and anyone else who stumbles on this) regarding a possible CSS bug for Firefox.

Say you have two divs - both have floats so that they can end up being two columns on your site. But sometimes when you add a dropdown menu (<select> tag) to one div) it will break the layout… usually meaning that the other div will be pushed down. And this usually happens only in Firefox. IE sees it just fine.

After some mindless tinkering try this - try switching the ORDER OF YOUR divs. So instead of having:

<div1>
<select><option value="something"></option></select>
</div1>
<div2>Right Column</div2>

switch the order in the html, and adjust the css floats (from “left” to “right” for the div2 in this case):

<div2>Right Column</div2>
<div1> <select><option value="something"></option></select> </div1>

This doesn’t really address the oringial problem, although it does fix the issue - and unless i’m missing something, this appears to be a bug in Firefox (although I have not tested this on a Mac version of Firefox).

Tags: , ,

Related posts