开发者

Whats wrong with my drop down navigation menu? [possible ie issue]

开发者 https://www.devze.com 2023-03-27 20:37 出处:网络
Im trying to learn to build navigation menus using css. Ive stripped loads of tutorials down to the basics and got:

Im trying to learn to build navigation menus using css. Ive stripped loads of tutorials down to the basics and got:

http://jsbin.com/osajiv/edit#html,live

When I mouse over the second link in fir开发者_如何学Pythonefox it drops down as expected however when I mouse over the link in ie it doesnt. Anyone know why this is?


Your style:

ul#nav:hover li ul
  {
    display: block;
  }

Change to

ul#nav li:hover ul
  {
    display: block;
  }

Jsfiddle: http://jsfiddle.net/thilakar/GYp74/

0

精彩评论

暂无评论...
验证码 换一张
取 消