Hey,
I spent a huge amount of time setting up css code to create drop-down menus in one version of IE (an older version) only to find out that it doesn’t work in later versions like IE 8, Firefox and Safari. Here’s the web link: http://www.kingedwardavenue.com/. The following is the code. Any suggestions? I have a launch date of this Thursday and there’s a media release going out. I’m go to be up all night tomorrow night if I can’t figure this out. Thx. (Marc)
/* header menu */
/Positions the menu and provides font/
#header-content ul {
position: absolute;
right: -5px; top: 70px;
font: bolder 1.3em ‘Trebuchet MS’, sans-serif;
color: #FFF;
list-style: none;
margin: 0; padding: 0;
}
#header-content ul {
float: left;
}
/Makes the menu horizontal instead of vertical/
#header-content li {
float: left;
line-height: 1.3em;
vertical-align: middle;
zoom: 1;
}
/Design of the boxes around each link/
#header-content li a {
float: left;
display: block;
padding: 3px 12px;
color: #fff;
background-color: #333;
text-decoration: none;
border-right: 1px solid #272727;
}
#header-content li li a {
width: inherit;
}
#header-content li a:hover {
background: #65944A;
color: #fff;
padding: 3px 12px;
border-right: 1px solid #65944A;
}
#header-content li a#current {
background: #65944A;
color: #fff;
}
#header-content li.hover,
#header-content li:hover {
position: relative;
z-index: 599;
cursor: default;
}
/To make the drop downs disappear/
#header-content ul.sub1 {
font: bolder 1em ‘Trebuchet MS’, sans-serif;
visibility: hidden;
position: absolute;
top: 100%;
left: 0;
z-index: 598;
}
ul.sub1 ul li {
float: none;
padding: 20px 20px;
}
ul.sub1 ul ul {
top: 1px;
left: 99%;
}
/Allows for the text to drop down under each tab/
#header-content li:hover > ul {
visibility: visible;
}
ul.sub1 a {
float: left;
display: block;
width: 160px;
}