dingdong1 Posted February 24, 2013 Share Posted February 24, 2013 my menu dont work in internet explorer CSS /* /// NAVIGATION & DROPDOWN /// */ nav ul li { display: inline-block; } li { list-style-type: none; } nav li:hover { position: relative; } nav li a { color: #666; text-decoration: none; padding-right: 25px; display: block; font-size: 18px; } nav li ul { background-color: #F9F9F9; border: 1px solid #EEE; margin-top: 0px; display: none; padding: 15px 0px 0px 0px; } nav li:hover ul { display: block; position: absolute; } nav li ul li a, #nav li ul li a:hover { color: #000; width: 230px; padding-left: 15px; } nav li ul li a:hover { text-decoration: none; } HTML <nav> <ul> <li class="active"><a href="<?php echo $url; ?>">HOME</a></li> <li><a href="#">LINK</a></li> <li><a href="#">TEST</a> <ul> <li><a href="#">LINK1</a></li> <li><a href="#">LINK2</a></li> <li><a href="#">LINK3</a></li> </li> </ul> </li> <li><a href="#">TEST AGAIN</a> <ul> <li><a href="#">LINK1</a></li> <li><a href="#">LINK2</a></li> <li><a href="#">LINK3</a></li> </ul> </li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li>[/b] [b] </ul> </nav> Quote Link to comment Share on other sites More sharing options...
Frank P Posted February 24, 2013 Share Posted February 24, 2013 Which IE version? Quote Link to comment Share on other sites More sharing options...
dingdong1 Posted February 24, 2013 Author Share Posted February 24, 2013 (edited) latest here is a Demo Edited February 24, 2013 by dingdong1 Quote Link to comment Share on other sites More sharing options...
Frank P Posted February 24, 2013 Share Posted February 24, 2013 works in ie9 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.