IE drop down menu bar not working with IE
Posted: 24 February 2009 07:31 AM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2009-02-24

Hi all, I have been stuck on this problem for weeks, trying different things and doing searches for answers, but cannot seem to get a clear answer.
I have not posted the problem yet, so this is my last resort. Hopefully it is just an easy fix, and I hope someone can help me out.

Ok, the website is EXACTLY I want it, in Firefox, but in IE, it is wrong.
Firstly the menu bar at the top is higher than it should be in IE, I fiddled as much as I could, and that was as good as I could get it. I am not too worried about that part.
The main problem I am having is that the drop down “sub menu” of the bottom menu bar, either does not show up at all in IE, or shows up at the bottom of the page… I also have the problem of the rolover link text of the menu bars not changing in IE 6 (I think) I get some sort of Javascript blockage?

Anyway, the website URL is http://www.photobookart.com.au

Here is the css of the menu bar:

DESIGN INFORMATIONdescribes color schemebordersfonts

 
*******************************************************************************/

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
    border
0px none #CCC;
    
width25em;
    
bottom1.5em;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
    display
block;
    
cursorpointer;
    
background-color#19191B;
    
padding0em;
    
color#999;
    
text-decorationnone;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hoverul.MenuBarHorizontal a:focus
{

}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHoverul.MenuBarHorizontal a.MenuBarItemSubmenuHoverul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
    font
-size15px;
    
color#F0D8B2;
    
-moz-outline-color#19191b;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
    background
-imageurl(SpryMenuBarUp.gif);
    
background-repeatno-repeat;
    
background-position9550%;
    
background-color#19191B;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
    background
-imageurl(SpryMenuBarRight.gif);
    
background-repeatno-repeat;
    
background-position9550%;
    
background-color#19191B;
    
color#F0D8B2;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
    background
-imageurl(SpryMenuBarUpHover.gif);
    
background-repeatno-repeat;
    
background-position9550%;
    
background-color#19191B;
    
color#F0D8B2;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
    background
-imageurl(SpryMenuBarRightHover.gif);
    
background-repeatno-repeat;
    
background-position9550%;
    
background-color#19191B;
    
color#F0D8B2;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
    position
absolute;
    
z-index1010;


    
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screenprojection
{
    ul
.MenuBarHorizontal li.MenuBarItemIE
    {
    display
inline;
    
f\loatleft;
    
}

Thank you very much for taking the time to look at this, hope I can be helped.

:thumbsup:

Profile
 
 
Posted: 24 February 2009 07:32 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  3
Joined  2009-02-24

@charset “UTF-8”;

Profile
 
 
Posted: 24 February 2009 07:33 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2009-02-24

}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
  ul.MenuBarHorizontal li.MenuBarItemIE
  {
  display: inline;
  f\loat: left;
  }
}


In regards to the css code, is this IE “hack” my key?
Should I just change something from here Or add something to that?

Thanks..

Profile
 
 
Posted: 16 July 2010 08:01 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  2
Joined  2010-07-16

I already referred this to my friend.


Regards


Simmon248

Profile
 
 
Posted: 16 July 2010 10:32 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  1
Joined  2010-07-16

I shared this on my facebook.

Regards


danies227

Profile
 
 
Posted: 21 December 2010 05:04 PM   [ Ignore ]   [ # 5 ]
Jr. Member
RankRank
Total Posts:  42
Joined  2010-12-14
1mmort4l - 24 February 2009 07:33 AM

}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
  ul.MenuBarHorizontal li.MenuBarItemIE
  {
  display: inline;
  f\loat: left;
  }
}


In regards to the css code, is this IE “hack” my key?
Should I just change something from here Or add something to that?

Thanks..

It really worked .. thnx bro

Profile