473,386 Members | 1,803 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,386 software developers and data experts.

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

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_group">
<div id="trigger_manufacturers" class="trigger_filters">
Manufacturers <img class="filter_arrow" src="images/filter_arrow.gif" alt="arrow" />
</div>
<ul id="filter_manufacturers" class="filters">
{section name=m loop=$manufacturers}
<li><a class="frontend_black" href="url">{$manufacturers[m].manufacturer_name}</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 2321
drhowarddrfine
7,435 Expert 4TB
There is not enough mark up there to help you. Got link?
Jul 11 '07 #2
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
Hmm..Unfortunately 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 Expert 4TB
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
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...
1
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...
3
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...
4
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...
2
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,...
4
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...
1
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...
0
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...
6
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 ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...

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.