jqueryslidemenu behaves not correctly
Posted: Fri May 11, 2012 5:30 am
Hello,
I do have an issue with the jqueryslidemenu I am using for my client's website. He is using safari, firefox, and have 2 or 3 sorts of screen sizes. I have firefox, google chrome, ie 8...And a 20". It looks perfectly normal here, but appears broken (the last UL goes underneath, like if the menu size was too big for the container) on random screens and browsers for some people I asked to have a look at, including my client. I assume I made a mistake in the css. But cannot find it :/ Can somebody help me please? the website is located here: http://www.nouvellezelandeservices.com Does the last ul appears underneath for some of you? Many thanks.
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
.jqueryslidemenu{
font: bold 12px Verdana;
width: 100%;
}
.jqueryslidemenu ul{
margin: 0;
list-style-type: none;
padding: 0 4px;
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
background-color:#1663AA;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a, .jqueryslidemenu ul li.currentpage {
display: block;
color: #fff;
padding: 5px 12px;
line-height:22px;
text-decoration: none;
}
.jqueryslidemenu ul li.currentpage {
color:#fff;
}
* html .jqueryslidemenu ul li a { /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: #fff;
}
.jqueryslidemenu ul li a:hover{
background-color:#80B4DF;
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}
.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 4px;
right: 5px;
}
I do have an issue with the jqueryslidemenu I am using for my client's website. He is using safari, firefox, and have 2 or 3 sorts of screen sizes. I have firefox, google chrome, ie 8...And a 20". It looks perfectly normal here, but appears broken (the last UL goes underneath, like if the menu size was too big for the container) on random screens and browsers for some people I asked to have a look at, including my client. I assume I made a mistake in the css. But cannot find it :/ Can somebody help me please? the website is located here: http://www.nouvellezelandeservices.com Does the last ul appears underneath for some of you? Many thanks.
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
.jqueryslidemenu{
font: bold 12px Verdana;
width: 100%;
}
.jqueryslidemenu ul{
margin: 0;
list-style-type: none;
padding: 0 4px;
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
background-color:#1663AA;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a, .jqueryslidemenu ul li.currentpage {
display: block;
color: #fff;
padding: 5px 12px;
line-height:22px;
text-decoration: none;
}
.jqueryslidemenu ul li.currentpage {
color:#fff;
}
* html .jqueryslidemenu ul li a { /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: #fff;
}
.jqueryslidemenu ul li a:hover{
background-color:#80B4DF;
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}
.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 4px;
right: 5px;
}