Hi everyone.
I have a strange problem with IE in a CSS menu.
Have an <li>
with a text and an <ul>
(with position absolute) and <li>
inside.
In Mozilla Firefox the sub <ul>
assumes the desired position (see picture below).
In IE the text forces the sub <ul>
to go forward. Any 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
}