jqueryslidemenu behaves not correctly

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
severine
New Member
New Member
Posts: 6
Joined: Wed May 09, 2012 10:34 pm

jqueryslidemenu behaves not correctly

Post by severine »

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;
}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: jqueryslidemenu behaves not correctly

Post by Dr.CSS »

Only if I zoom in, sounds like they have the default font in browser set larger than yours, I had the same problem with a client one time, they had large default text size I had default, both same browser, they kept telling me the last menu item was under the others, till he checked his font settings...
severine
New Member
New Member
Posts: 6
Joined: Wed May 09, 2012 10:34 pm

Re: jqueryslidemenu behaves not correctly

Post by severine »

Thank you very much Dr CSS :) I am going to have a try and will go back to you! You are great!
severine
New Member
New Member
Posts: 6
Joined: Wed May 09, 2012 10:34 pm

Re: jqueryslidemenu behaves not correctly

Post by severine »

Sorry for the delay Dr CSS! Well I told my client to give me their fonts parameters... Still waiting. I will go back to you if it was not the solution :) And I will add "solved" if it was. Many thanks for your help!! Love cmsms!
severine
New Member
New Member
Posts: 6
Joined: Wed May 09, 2012 10:34 pm

Re: jqueryslidemenu behaves not correctly

Post by severine »

Ok so apparently it is a problem of windows vs mac ! After a complete browser testing it appears that this menu problem appears only under mac os . Any idea? Are you aware of any css element that could cause the conflict? Thank you very much.
severine
New Member
New Member
Posts: 6
Joined: Wed May 09, 2012 10:34 pm

Re: [SOLVED] jqueryslidemenu behaves not correctly

Post by severine »

Well, it was a font problem indeed. In the css I had to simply remove "bold" and play with the size and family fonts. As under mc os helvetica, verdana and arial appears bolder. Many thanks for you advice. Problem solved! ;D
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: jqueryslidemenu behaves not correctly

Post by Dr.CSS »

Post Reply

Return to “Layout and Design (CSS & HTML)”