No replies
medwithcred88
Offline
newbie
england
Last seen: 10 years 27 weeks ago
england
Timezone: GMT+1
Joined: 2010-05-26
Posts: 1
Points: 2

Hello,

i know a lot of people have asked this question but i need this doing before the weekend Sad . My site www.bluestarrecruitment.com will not show the vertical drop down in IE but it goes to the side with 3 columns (see website for the promblem.) how do i get this working in IE? is it to do with the IE hack? im not to knowledgeable on these thinks so you help will be much appreciated.

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 920px;
padding-top: 18px;
background-color: #000;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
width: 900px;
margin: 0;
padding: 0;
list-style-type: none;
font-size: 13px;
position: relative;
text-align: left;
cursor: pointer;
width: auto;
float: left;
background-color: transparent;

}
/* Submenus should appear below their parent (top: Innocent with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
position: absolute;
left: -1000em;
background-color: #000;

}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
margin-left: 25px;
margin-right: 30px;
float:left;
}

/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width:230px;
font-size:13px;
padding-top: 10px;
padding-left:5px;
padding-right:5px;
display: block;

}

ul.MenuBarHorizontal ul li .last
{
width:230px;
font-size:13px;
padding-bottom: 10px;
padding-left:8px;
padding-right: 5px;
display: block;

}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;

}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;

}

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

DESIGN INFORMATION: describes color scheme, borders, fonts

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

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{

background-color: #000;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #fff;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #000;

}

ul.MenuBarHorizontal a.home
{
display: block;
cursor: pointer;
color: #fff;
padding: 0.5em 0.75em;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size:13px;
width: 40px;

}

ul.MenuBarHorizontal a.meet
{
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #fff;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size:13px;
width: 115px;
margin-left: 30px;
float:left;

}

ul.MenuBarHorizontal a.contact
{
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #fff;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size:13px;
width: auto;
margin-left: 97px;

}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
color: #bed630;
}

ul.MenuBarHorizontal ul li a:hover, ul.MenuBarHorizontal a:focus
{
width:auto;
color: #bed630;
}
/* 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
{

color: #bed630;
}

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

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(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

ul.MenuBarHorizontal a.MenuBarItemSubmenuProduct
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
width:95px;
margin-left: 30px;
display:block;

}

ul.MenuBarHorizontal a.MenuBarItemSubmenuCase
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
width:195px;
background-color:#000;
margin-left: 30px;
display: block;

}

ul.MenuBarHorizontal a.MenuBarItemSubmenuTraining
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
width:80px;
margin-left: 25px;
display:block;

}

/* 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%;
}
/* 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(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* 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%;
}

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

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);
clear:left;
display: inline;
}

/* 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;
background: #000;
}

many thanks again

edward