Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
submenu different height
Old 02-27-2009, 09:33 AM submenu different height
Novice Talker

Posts: 12
Name: april
Trades: 0
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...

Thanks!
heliosphan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-27-2009, 09:37 AM Re: submenu different height
Novice Talker

Posts: 12
Name: april
Trades: 0
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!
heliosphan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to submenu different height
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19042 seconds with 12 queries