I'm trying to get the navigation menu on the following two pages to work similarly:
http://www.trailsticker.com
and
link removed
Right now, I'm seeing an issue with the hover menu not working properly in IE8 for the cafepress site. It works in IE8 at the trailsticker site. And both pages work properly in firefox.
Any idea on what may be the problem? Below is the CSS for the hover menu.
Code:
/* navigation hover menu */
#menu
{
width: 100%; /* set width of menu */
color:White;
padding: 5px 0px 5px 0px;
font-size:14px;
}
#menu ul
{ /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
}
/* style, color and size links and headings to suit */
#menu a
{
font: verdana,geneva,arial,helvetica,sans-serif;
font-size:14px;
display: block;
margin: 0;
color: White;
background: #49CDE5;
text-decoration: none;
}
#menu a.top
{
background: #008000;
}
#menu a:hover
{
text-decoration:underline;
background: #49CDE5;
}
#menu li
{
/* make the list elements a containing block for the nested lists */
position: relative;
z-index:500;
}
#menu li:hover
{
background: #49CDE5;
}
#menu ul ul
{
position: absolute;
top: 0;
left: 100%; /* to position them to the right of their containing block */
width: 85%; /* width is based on the containing block */
z-index:500;
}
div#menu ul ul,
div#menu ul li:hover ul ul
{display: none;}
div#menu ul li:hover ul,
div#menu ul ul li:hover ul
{display: block;}
div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}
Last edited by bige2533; 03-04-2010 at 01:29 AM..
|