Hello,
I am trying to get my flyout submenus to be a different height than the main nav:
The main navigation on the left would remain the same height and the flyout menus would be shorter in height.
http://www.tegramedical.com/test/
I am not sure how to go about doing this...
@charset "UTF-8";
/* CSS Document */
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 130px; /* Width of Menu Items */
}
.suckerdiv ul li{
position: relative;
}
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 200px; /*sub menu width*/
top: 0;
visibility: hidden;
}
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
cursor: default;
overflow: auto; /*force hasLayout in IE7 */
text-decoration: none;
border-bottom: 1px dotted #e7174b;
padding-top: 2em;
padding-right: 0.75em;
padding-bottom: 0.5em;
padding-left: 0.75em;
color:#484848;
}
.suckerdiv ul li a:hover{
color: #e7174b;
}
.suckerdiv{
margin-top: 10px;
margin-right: 0;
margin-bottom: 10px;
margin-left: 15px;
}
.suckerdiv a.active
{
background-image: url(../images/MenuBarRight.gif);
background-repeat: no-repeat;
color: #e7174b;
border-bottom: 1px dotted #484848;
background-position: 0 70%;
padding-right: .6em;
}
.sub_color{
background-color:#F0F0F0;
}
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
Thanks!
|