Have a quick question. I have the following drop down menu. As you can see, when you hover over a menu item a border appears around three edges, and the border-top appearing is pushing the li down by 1px - making the menu appear to "wobble"
So, how do i fix it? If i simply add margin-top:-1px to the li:hover that works great in modern browsers, but it breaks in IE6 (have a look at the screenshot - it pulls everything up 1px)
Question
Bollard
Hello,
Have a quick question. I have the following drop down menu. As you can see, when you hover over a menu item a border appears around three edges, and the border-top appearing is pushing the li down by 1px - making the menu appear to "wobble"
So, how do i fix it? If i simply add margin-top:-1px to the li:hover that works great in modern browsers, but it breaks in IE6 (have a look at the screenshot - it pulls everything up 1px)
Any ideas?
Thanks
Link to comment
https://www.neowin.net/forum/topic/929440-css-drop-down-menu-border-hover-issue-in-ie6/Share on other sites
1 answer to this question
Recommended Posts