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

Home Posts Topics Members FAQ

Drop down menu trouble in IE. Probably CSS is at fault

9 New Member
Ok so i have a a couple drop down menus, that are used as filters. I mean to select filters for a listing of products.
They work perfectly in Firefox, however in IE the drop down doesn't activate every time it should. If you check the code fragment from my template below, the bold part is the text on one of the filters and a small arrow image. In IE if you put the mouse cursor between the text and the arrow the drop-down doesn't trigger, which is quite annoying.

[HTML] <div id="filters">
...
<div class="filter_g roup">
<div id="trigger_man ufacturers" class="trigger_ filters">
Manufacturers <img class="filter_a rrow" src="images/filter_arrow.gi f" alt="arrow" />
</div>
<ul id="filter_manu facturers" class="filters" >
{section name=m loop=$manufactu rers}
<li><a class="frontend _black" href="url">{$ma nufacturers[m].manufacturer_n ame}</a></li>
{/section}
</ul>
</div>
.....
</div>
[/HTML]

I suspect it is a CSS problem because i tried different menus and i got the same problem. I couldn't find any solution to this annoying issue in IE, so i would really appreciate some tips.
This is all the CSS code related to the filters:
Expand|Select|Wrap|Line Numbers
  1. #filters{
  2.     padding-top    : 2em; 
  3. }
  4. #filters div.filter_group{
  5.     float    : left;
  6.     width    : 10em;    
  7.     padding:0.2em; 
  8. }
  9. #filters ul{
  10.     width    : 9em;    
  11.     margin    : 0px;
  12.     padding    : 0px;
  13. }
  14. .trigger_filters {
  15.     cursor:pointer;
  16.     background:transparent url("images/filters_background.jpeg") repeat-x;
  17.     border:1px solid #555555;
  18.     font-weight:bold;
  19.     font-size:11px;
  20.  
  21. }
  22. ul.filters {
  23.     position:absolute;  
  24.     visibility:hidden;
  25.     overflow:hidden;
  26.     z-index: 3;
  27.     margin:0;
  28.     background:#f5f5f5;
  29.     border:1px solid #ff9724; 
  30.     vertical-align:top;
  31. }
  32. ul.filters li{
  33.     /*border-bottom:1px dotted #ff9724;*/
  34.     border-left:1px solid white;
  35.     border-right:1px solid white;
  36.     background: transparent url("images/dotted_line.jpeg") repeat-x bottom;
  37. }
  38. #filters span{
  39.     float:left;
  40.     font-weight:bold;
  41.     font-size:11px;
  42.     margin-top:4px;
  43. }
  44. img.filter_arrow{
  45.     position:relative;
  46.     float:right;
  47.     top:-10px;
  48.     right:3px;
  49. }
Thanks in advance for your help!
Jul 11 '07 #1
4 2339
drhowarddrfine
7,435 Recognized Expert Expert
There is not enough mark up there to help you. Got link?
Jul 11 '07 #2
Botondus
9 New Member
It's not online yet so i can't give you a link. I included the template code for the filter drop-down and the CSS, what else should i add?
I could make some screenshots of the drop-down in IE/FF to show it's exact behaviour and include the javascript code related to it or tell me if you need something else. Although i doubt javascript would be at fault, since i tried pure CSS drop-down too, with JS addition for IE but it showed the exact same behaviour in IE.
Jul 12 '07 #3
Botondus
9 New Member
Hmm..Unfortunat ely it seems i can't capture the mouse cursor itself too in the screenshots.
This is approximately the "blind" area that doesn't activate the drop-down in IE when you put the mouse cursor over it:


This is how the menu looks like in Firefox. Activates properly on the whole surface of the menu header:


And the same in IE. Activates only if cursor is over the text or the small arrow, not between:

Jul 12 '07 #4
drhowarddrfine
7,435 Recognized Expert Expert
You need to post the complete code, from top to bottom. Pictures do no good and the markup shown above doesn't show anything. Any generated code, other than javascript, won't be of use either.
Jul 12 '07 #5

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

Similar topics

3
2966
by: KK | last post by:
Drop-down menus are the hottest thing since Wonder Bread but . . . 1. Alot of people put them in the they-look-nice-but-you-cant-code-them-right-so-they-always-look-messed-up category (a la "frames"). Do you think this is true> 2. Some people think they take up too much KB. 3. Some people are worried that people who have javascript turned off wont be able to see them. What percent of web users have javascrips turned off? I thought it was...
1
1623
by: John | last post by:
Hi everyone. I'm having a real problem with a drop-down menu that I'm using. Simply, as I scroll down the page, it follows me. I don't want this!! I guess it's all my fault for using CoffeeCup's DHTML Menu builder to create them, but even on a blank page, it'll scroll down, so it's nothing to do with where I've intersted it in my page. I've uploaded the page to: www.hookedonfishing.biz/test.html
3
3063
by: scaredemz | last post by:
hi, so i'm creating a dynamic drop-down menu. the menu and the text show up fine in IE but only the drop-down shows in Firefox without the menu text. Below is the fxn code. help pls. function DropDownHelper(menuArray, top, left, height) { var currItem = new String(); var item; var idStr;
4
2185
by: Enrika | last post by:
Greetings! I'm working on a CSS drop-down menu, which, to my surprise, is actually working, more-or-less, in both IE *and* Firefox (and Netscape). But there are two changes that I want to make that I just can't figure out how to do. The first is to make the submenu wider than the top menu. Currently, if the text of the submenu doesn't fit within the width of the menu item, the submenu item height increases to accomodate the entire text....
2
5259
by: Boujii | last post by:
Greetings, I have been attempting to make a drop down menu of countries. From this menu I wish to create a variable in order to INPUT into mysql database. I have no trouble making the drop down menu, but I am unable to store a variable for it. Here is a rough copy of what I am making: <html> <head> <title>Add New MySQL User</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
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.
1
6284
by: tequilamala | last post by:
I wanna create a drop down menu inbetween a bunch of links that are images. i want the Drop down to look like the image links but how is that possible? can you add an img src to the drop down select or option? I'm having trouble finding resources on the web on this issue.
0
3151
by: mjohnson0321 | last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of the browsers I have tested it on (IE6, IE7, Firefox, Opera and Safari). It is probably something simple, but I can't find it! Here is the CSS (using external style sheets): style-temp.css (Main style sheet for the site): * { font-family:...
6
1966
by: jscore | last post by:
I'm trying to create a drop down menu based off of some tutorials, but am having trouble. Link: http://drc.usask.ca/projects/emet/indextest.html css: http://drc.usask.ca/projects/emet/emet.css biggest problem is that in firefox 3 and worse in Safari a horizontal scroll bar pops up in the middle of the screen (and stays in Safari) when the drop down menus pop up (i.e. are mouse-overed). Also having trouble with spacing in Firefox...
0
9601
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10637
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...
1
10379
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.