Hello,
I downloaded a template to use for our company website. All was fine until I went to add children to the horizontal navigation menu. Here's what the template uses:
The original template works fine. However, after I changed the menu items when I hover over a parent navigation item with children, the dropdown appears but there is blank space between the parent and its children so the two are not "connected". Thus, I cannot smoothly scroll to the children, hover, or click on them. I have looked all over for the source of the space but I'm at a loss as to what's causing it.
#nav1 ul {
width:740px;
float:left;
padding:0;
}
/*Main Nav Bar Spacing*/
#nav1 ul.sf-menu li {
position:relative;
float:left;
line-height:40px;
padding:4px 5px;
text-align:middle;
}
/*Main Nav Bar Text Formatting*/
#nav1 ul.sf-menu li a {
color:#3a3a3a;
margin:0;
padding:1px 10px;
}
/*Main Nav Bar Hover Formatting*/
#nav1 ul.sf-menu li a:hover, #nav1 ul.sf-menu li a:active {
padding:0 9px;
color:#333333;
background:#c0d3e1;
}
/*Child 1st level Text and Background Formatting*/
#nav1 ul.sf-menu li ul.children {
margin:0;
background:#ececec;
width:210px;
padding:0;
border:1px solid #dadada;
}
/*Child 1st level Text Formatting*/
#nav1 ul.sf-menu li ul.children a {
margin: 0px 0px 0px 10px;
padding:0;
color:#2f6d9b;
width:210px;
}
#nav1 ul.sf-menu li ul.children a:hover #nav1 ul.sf-menu li ul.children a:active {
color:#fff;
background:#c0d3e1;
width:200px;
text-decoration:none;
}
#nav1 ul.sf-menu li ul.children li {
border:0;
padding:0;
}
.nav1backedge {
border-top-left-radius:0px;
border-top-right-radius:0px;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px";
}
I have gone over this again and again with no luck. I would greatly appreciate your help and feedback as to how to identify or fix the issue.
Thanks very much,
Bookmarks