Problem with IE in a menu with CSS -



Problem with IE in a menu with CSS -

i have unusual problem ie in css menu.

have <li> text , <ul> (with position absolute) , <li> inside.

in mozilla firefox sub <ul> assumes desired position (see image below).

in ie text forces sub <ul> go forward. ideas?

thanks in advance!

li { float:left; width:auto; } li ul { left:-999em; margin-left:0; margin-top:5px; padding:0; position:absolute; width:150px; } li:hover { left:auto }

there 3 suggestions coming in mind.

1 - can utilize eric meyer's reset css. 2 - may go ie7.js , create ie behave standard compliant browser. 3 - unrecommended way utilize ie6 hack this:

* html ul li{ /* styles */ }

css

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -