...

View Full Version : Menu bar not right in IE..



1mmort4l
02-24-2009, 07:10 AM
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 Java script blockage?

Anyway, the website URL is www.photobookart.com.au

Here is the css of the menu bar:


DESIGN INFORMATION: describes color scheme, borders, fonts

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

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
border: 0px none #CCC;
width: 25em;
bottom: 1.5em;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-color: #19191B;
padding: 0em;
color: #999;
text-decoration: none;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{

}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
font-size: 15px;
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-image: url(SpryMenuBarUp.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
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-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
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-image: url(SpryMenuBarUpHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
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-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
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-index: 1010;


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 screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
f\loat: left;
}
}



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

:thumbsup:

abduraooft
02-24-2009, 07:23 AM
Fix all errors in your markup first, see http://validator.w3.org/check?uri=http%3A%2F%2Fwww.photobookart.com.au%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

PS: please edit your above post and add
][/COLOR] tags around your code. Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum