473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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 1437
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

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

Similar topics

4
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
4
by: Stromboli | last post by:
hi people, My problem is that I need to build a dynamic menu (preferably that works in all the browsers) that appears when I mouseover a certain link. The problem is that I have to declare...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
2
by: Gary Wessle | last post by:
Hi I need help organizing this program in the right way. I included the code below which compiles and runs and gives the desired effect to a certain point, but I don't know what the next step...
2
by: Ravi Joshi | last post by:
The menu on my site works fine in IE6 and Firefox. In IE7, there is a problem with the menu: when you mouse over the various main catagories, the sub-catagories all appear to the right as they...
5
by: AG | last post by:
I realize that the obvious suggestion would be malware, but my definitions are up to date and I have already scanned for it. I have also tried disabling all IE add-ons. I just rebuilt and...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.