I have been working on this menu for several days. Building the menu was fine, but when it came to testing it in IE7 I was stumped…
Basically what I have is a dropdown menu under the “Selling” menu item. It appears fine in every other browser… In IE7 it positions incorrectly and moves over to the right.
I have spent 3 days searching, fiddling, and trying new things out. Can anyone help me with this?
@Rayzur Thank you so much! I can’t believe how quick a response I got compared to the past couple days I have been trying to figure out the same thing…
@ralph.m I clicked it from the post and it worked for me… It is also working when I manually type it in. Thanks for the reply, Rayzur was able to help already
Also, you may notice in the code for my submenu I have contained it in a DIV. What would be the easiest way to remove the div and have all the same styling apply? Should I just do the above then try figuring out how to get the styling to apply to the #menu ul item?
Something like this?
Hi,
Yes, it looks like you have got the nested list set up correctly.
Also, you may notice in the code for my submenu I have contained it in a DIV. What would be the easiest way to remove the div and have all the same styling apply?
I just looked back at your page and the only rules you have on that div are the absolute positioning and display none.
You can do away with the display:none; as it is bad for usability anyway. It is better to hide the sublist off-screen with a negative margin. Anyway those rules can just be applied directly to the sub UL.
Have a look at this Simple Dropdown. If you view the page source you will see how li:hover ul sets the left margin back to “0” which reveals the dropdown.
Hi again, much thanks for the advice. This sent me on a long journey of rewriting and moving things around in my css code. I cleaned it up a whole bunch and am much happier now. I learned a lot along the way, but there is one last thing that I can’t figure out. Maybe its because I have spent days looking at this and my eyes don’t know the difference between right and wrong anymore.
Under the Sellers menu item there is a small arrow that points to the dropdown below. This is contained in the rollover for the Sellers menu item. When I move the mouse down to a submenu item, the little arrow disappears.
I tried changing the background image from being on a:hover to li:hover but didn’t see the difference.