views:

26

answers:

1

Created a very simple HTML/CSS drop down navigation using nested unordered lists.

Works great with Firefox, Chrome, IE8 but in IE7 the sub navigation doesn't sit below the parent, instead it sits below parent to the right.

For an example and HTML/ CSS have a look here http://webfe.omega.studiocoast.com.au/

I'm stumped!

+1  A: 

IE gets confused by position: absolute inside floats with auto layout. Set an explicit left: 0 on .sub_nav and position: relative on the parent (floated) li to avoid this.

(Is float: left; display:inline-block; intentional, to work around some other bug or something? It doesn't make sense by itself.)

bobince
Perfect! Thank you muchly :) and the float and inline-block was me trying to hack another bug haha
timothyclifford