473,809 Members | 2,718 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS Drop Down Cut Off

38 New Member
Hi there,

I've got a series of CSS /Javascript drop down menus that work fine in Safari and Firefox, but not in Explorer (surprise. surpise!) as was wondering if anybody could give me a bit of assistance? The menu first appear to be cut in half when it appears, and depending on the browser, remain with a chunk cut out the top right corner. I've tried changes Z Index' etc without success.

Here is the CSS...

Expand|Select|Wrap|Line Numbers
  1. ul.menu {
  2.     list-style:none;
  3.     padding:0;
  4.     font-family: Arial, Helvetica, sans-serif;
  5.     font-size: 11px;
  6.     color: #FFFFFF;
  7.     margin-top: 0;
  8.     margin-right: 0px;
  9.     margin-bottom: 0px;
  10.     margin-left: 0px;
  11. }
  12. ul.menu * {
  13.     padding:0;
  14.     margin-top: 0;
  15.     margin-right: 0;
  16.     margin-bottom: 0;
  17.     margin-left: 0px;
  18. }
  19. ul.menu a {display:block; color:#FFFFFF; text-decoration:none}
  20. ul.menu li {
  21.     float:left;
  22.     padding-right: 0px;
  23.     padding-left: 0px;
  24.     position: relative;
  25.     width: 117px;
  26. }
  27. ul.menu ul {
  28.     position:absolute;
  29.     top:26px;
  30.     left:0;
  31.     display:none;
  32.     opacity:0;
  33.     list-style:none;
  34.     z-index: 0;
  35. }
  36. ul.menu ul li {
  37.     position:relative;
  38.     width:180px;
  39.     margin:0;
  40.     border-top-width: 1px;
  41.     border-right-width: 1px;
  42.     border-bottom-width: 1px;
  43.     border-left-width: 1px;
  44.     border-right-style: solid;
  45.     border-bottom-style: solid;
  46.     border-left-style: solid;
  47.     border-top-color: #aaa;
  48.     border-right-color: #aaa;
  49.     border-bottom-color: #aaa;
  50.     border-left-color: #aaa;
  51.     z-index: 100;
  52.     clear: both;
  53. }
  54. ul.menu ul li a {display:block; padding:3px 7px 5px; background-color:#2A3239}
  55. ul.menu ul li a:hover {background-color:#F6B220}
  56. ul.menu ul ul {left:180px; top:1px}
  57. ul.menu .menulink {font-weight:bold; width:180px}
  58. ul.menu .menulink:hover, ul.menu .menuhover {}
  59. ul.menu .sub {
  60. }
  61. ul.menu .topline {
  62.     border-top:1px solid #aaa;
  63.     background-color: #2A3239;
  64. }
  65.  

My HTML is as follows...

Expand|Select|Wrap|Line Numbers
  1. <div class="navbuttons1"><a href="index.html"><img src="images/home_button_over.gif" alt="Metparking Home Page" width="126" height="54" border="0"/></a></div>
  2.  
  3.   <ul class="menu" id="menu">
  4.     <li><img src="images/about_norm.gif" alt="Metparking About Us" width="117" height="54"/></span>
  5.         <ul>
  6.           <li><a href="about_us/industry_standards.html">Industry Standards</a></li>
  7.           <li> <a href="about_us/employment.html">Employment</a></li>
  8.           <li> <a href="about_us/client_relationship.html">Client Relationship</a></li>
  9.           <li> <a href="about_us/customer_service.html">Customer Service</a></li>
  10.         </ul>
  11.     </li>
  12.  
  13.     <li><img src="images/services_norm.gif" alt="Metparking Our Services" width="117" height="54"/></span>
  14.         <ul>
  15.           <li><a href="our_services/parking_management/parking_management.html">PARKING MANAGEMENT</a></li>
  16.           <li><a href="our_services/parking_management/maximum_stay.html">Maximum Stay</a></li>
  17.           <li><a href="our_services/parking_management/permit_contract_season_tickets.html">Permit/Contract/Season Tickets</a></li>
  18.           <li><a href="our_services/parking_management/pay_and_display.html">Pay and Display</a></li>
  19.           <li><a href="our_services/parking_management/pay_by_phone.html">Pay By Phone</a></li>
  20.           <li><a href="our_services/parking_management/pay_on_foot.html">Pay On Foot</a></li>
  21.           <li><a href="our_services/parking_management/pay_on_entry.html">Pay On Entry</a></li>
  22.           <li><a href="our_services/parking_management/pay_at_exit.html">Pay At Exit</a></li>
  23.           <li><a href="our_services/parking_management/marshalling.html">Marshalling</a></li>
  24.           <li><a href="our_services/parking_enforcement/parking_enforcement.html"><br />PARKING ENFORCEMENT</a></li>
  25.           <li><a href="our_services/parking_enforcement/anpr.html">ANPR</a></li>
  26.           <li><a href="our_services/parking_enforcement/onsite_parking_attendants.html">Onsite Parking Attendants</a></li>
  27.           <li><a href="our_services/parking_enforcement/mobile_parking_attendants.html">Mobile Parking Attendants</a></li>
  28.           <li><a href="our_services/parking_enforcement/self_ticketing.html">Self Ticketing</a></li>
  29.           <li><a href="our_services/parking_enforcement/clamping_tow_away.html">Clamping/Tow Away</a></li>
  30.           <li><a href="our_services/parking_enforcement/abandoned_vehicles.html">Abandoned Vehicles</a></li>
  31.           <li><a href="our_services/parking_enforcement/faqs.html">FAQ's</a></li>
  32.           <li><a href="our_services/parking_enforcement/legalities.html">Legalities</a></li>
  33.           <li><a href="our_services/facilities_management/facilities_management.html"><br />FACILITIES MANAGEMENT</a></li>
  34.           <li><a href="our_services/facilities_management/maintenance.html">Maintenance</a></li>
  35.           <li><a href="our_services/facilities_management/cleaning.html">Cleaning</a></li>
  36.           <li><a href="our_services/facilities_management/landscaping.html">Landscaping</a></li>
  37.           <li><a href="our_services/facilities_management/line_marking.html">Line Marking</a></li>
  38.           <li><a href="our_services/facilities_management/signage.html">Signage</a></li>
  39.           <li><a href="our_services/facilities_management/security_patrols_gate_operation.html">Security Patrols & Gate Operation</a></li>
  40.           <li><a href="our_services/buy_lease_joint_venture/index.html"><br />BUY/LEASE/JOINT VENTURE</a></li>
  41.         </ul>
  42.     </li>
  43.  
  44.  
  45.     <li><img src="images/careers_norm.gif" alt="Metparking Careers" width="117" height="53" /></span>
  46.         <ul>
  47.           <li><a href="careers/about_careers.html">About Careers</a></li>
  48.           <li> <a href="careers/current_vacancies.html">Current Vacancies</a></li>
  49.         </ul>
  50.     </li>
  51.  
  52.         <li><img src="images/our_clients_norm.gif" alt="Metparking Clients" width="117" height="53" /></span>
  53.         <ul>
  54.           <li><a href="clients/industry_sectors.html">Industry Sectors</a></li>
  55.           <li> <a href="clients/testimonials.html">Testimonials</a></li>
  56.         </ul>
  57.     </li>
  58.  
  59.  
  60.         <li><a href="news/index.html"><img src="images/new_norm.gif" alt="Metparking News" width="117" height="54" border="0" /></a></li>
  61.  
  62.  
  63.     <li><img src="images/secure_area_norm.gif" alt="Metparking Secure Area" width="117" height="54" /></span>
  64.         <ul>
  65.           <li><a href="secure_area/client_login.html">Client Login</a></li>
  66.           <li> <a href="secure_area/staff_login.html">Staff Login</a></li>
  67.         </ul>
  68.     </li>
  69.  
  70.  
  71.     <li><a href="online_payment/index.html"><img src="images/online_payment_norm.gif" alt="Metparking Online Payment" width="127" height="54" border="0" /></a></li>
  72.  
  73.   </ul>
  74.  
  75.  


The page itself can be found here...

http://www.metparking. com/new_site/index.html

many thanks in advance.
Aug 29 '09 #1
0 2828

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

Similar topics

6
2463
by: PT | last post by:
I got a form with many text boxes, checkboxes and 3 drop downs. From that 3, 2 are dependant. I can choose one drop down, and the next drop down should display the dependant values of the first drop down chosed. And I have a submite button to submit all these values to DB. First problem: I cant keep the value of the selected text in the first drop down. It always goes back to the first value. (but the asp site extension changes...
2
11065
by: ehm | last post by:
I am working on creating an editable grid (for use in adding, deleting, and editing rows back to an Oracle database). I have a JSP that posts back to a servlet, which in turns posts to a WebLogic SFSB and, from there, to the database. On the front end, all cells appear as text fields. However, for certain cells, when the user clicks on the cell, the text field turns into a drop-down field (i.e. Select object), defaulting to the value...
1
2916
by: Dan | last post by:
This is one that has me stumped and I need an expert's input. Any ideas why the values from the second script-generated drop down list isn't recognized by the script to add time values to the text boxes? What this script is suppose to do is change the value of a second drop down list based on the selection from the first. Then a value is chosen from the script generated drop down list in the
3
6168
by: Don Wash | last post by:
Hi There! I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to widen the Drop down box's Pull-Down list's width? I'm not talking about the Drop-down box's width but the box that appear when user clicks the drop-down arrow button. Because items in the Drop down list are a little long, user can't see the full thing when they pull down the items from the drop down list.
2
12626
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will select any skill in 1st drop down list then i'll select % of this skill in the 2nd list box , based on the percentage i've selected in the 2nd list box it has to display 2 sets of drop down list boxes at run time one for selecting skill and
1
2505
by: pmelanso | last post by:
Hello, I have a drop down list which is dynatically loaded from a database and I have a second drop down list that is also dynatically loaded depending on what is selected in the first drop down box. This all works fine ... what isn't working is when I selected a different item in the first drop down list I want it to automatically reload the items in the second drop down list. I have a funcation called loadNames that laod the second...
7
2441
by: callawayglfr | last post by:
I am building a database in access where I have a drop down box that relates to a text box, that part I have working but when someone selects information from the first drop down I need it to limit the second drop down to just the related information. Explaining this is obviously challeging. So I'll try to draw a picture: (drop down 1) Select number --- once selected description is populated in text box (drop down 2) based on first...
8
7582
by: Ed Dror | last post by:
Hi there ASP.NET 2.0 VB & SQL Express Lest take Northwind Categories Products as example I create a table that hold these two together and I create a stored procedure like select ProductID, ProductName, CategoryID, from tblCategoryProducts Where (CategoryID = @CategoryID)
4
9302
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me if it works, and if it does not, tell me why it does not work. Thanks.
3
7362
by: penny111 | last post by:
Hi there, For my application, i need to have 3 drop down lists 1. drop down list of folder names 2. drop down list of documents in the folder selected 3. drop down list of instances of the document selected (my application uses the BusinessObjects Java Web Services SDK) The 2nd list is dependent on the 1st, while the 3rd list is dependent on the 2nd. In other words, this is what i want my application to do -select a folder from the...
0
10639
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9200
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7661
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5688
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.