I've got a really weird situation happening in IE7, and I can't figure out what I could possibly be doing wrong. I've got two divs on a page - one floating left, the other right. Each div contains two fieldsets, none of which are floated. This is the general setup:
Everything lines up perfectly in IE8, FF3.6 and Chrome, but in IE7 (actually, IE8 in Compatibility Mode) #serviceArea floats to the left of #defineArea (or vice-versa) in #colRight, and #colLeft gets pushed down below the now-too-wide #colRight. Since fieldsets are block-level elements, how can they be floating, especially when I explicitly set them to float:none?
Yeah, that works. I was trying to avoid that because I couldn't find any info about how wide a fieldset actually is. After some experimentation, though, it looks like it's width + padding + 4px, at least in the browsers I'm able to test in. So I added a width to both column divs and removed the margin-right on #colLeft. Thanks for the help.
It's still weird that the fieldsets would float, though. I wouldn't have thought that would be normal behavior for a block-level element.
Bookmarks