471,605 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Menu Bar IE7 problem

Hey everybody,

I have a problem in IE7,when i m using drop down menu bar in IE6 and in firefox,it works fine, but used it in IE7 i m facing problem.when i m clicks onto leave then my menu dropdown (all level menus) shown ....in mouse over they does't changed there property..

this CSS i m using and piace of my HTML code.

Expand|Select|Wrap|Line Numbers
  1. #nav, #nav ul { /* all lists */
  2.     padding: 0;
  3.     margin: 0;
  4.     list-style: none;
  5.     line-height: 1;
  6.     font-family:Verdana, Arial, Helvetica, sans-serif;
  7.     color:#000;
  8.     border-top:1px #CCCCCC solid;
  9.     border-bottom:1px #CCCCCC solid;
  10.     width:965px;                   
  11.     height:25px;    
  12.     background:#EFEFED;
  13. }
  14.  
  15. #nav a
  16. {
  17.     display: block;
  18.     text-decoration: none;
  19.     color:#000000;
  20.     border-bottom:2px #EFEFED solid;
  21.     padding-bottom:3px;
  22. }
  23.  
  24. #nav a:hover{
  25.     color:#000;
  26.     border-bottom:2px #CC3300 solid;
  27. }
  28.  
  29. #nav li { /* all list items */
  30.     float: left;
  31.     /* width: 80px; */ /* width needed or else Opera goes nuts */ /* no it does not go nuts anymore */
  32.     height: 20px; 
  33.     background: url(../images/arrow_down.gif) right 5px no-repeat }
  34.  
HTML....
[html]
<ul id="nav">
<li><a href="#">Leave </a>
<ul>
<li><a href="#">Sub Menu</a></li>
</ul></li>[/html]
Oct 4 '07 #1
1 1409
MarkoKlacar
296 Expert 100+
Hi Ravi,

the only thing that comes to mind is the <li>-element that you haven't included in your CSS. My experience tells me that most times stuff like this happends because "all" element's aren't handled

Hope this helps
Oct 5 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by JesusFreak | last post: by
2 posts views Thread by Jackson Yap | last post: by
4 posts views Thread by Stromboli | last post: by
7 posts views Thread by Chuck Hartman | last post: by
2 posts views Thread by Gary Wessle | last post: by
2 posts views Thread by Ravi Joshi | last post: by
5 posts views Thread by AG | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.