html - Internet Explorer 7 strange behaviour for drop down list -


created simple html/css drop down navigation using nested unordered lists.

works great firefox, chrome, ie8 in ie7 sub navigation doesn't sit below parent, instead sits below parent right.

for example , html/ css have here http://webfe.omega.studiocoast.com.au/

i'm stumped!

ie gets confused position: absolute inside floats auto layout. set explicit left: 0 on .sub_nav , position: relative on parent (floated) li avoid this.

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


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -