cosmo
08-22-2013, 01:25 AM
1) Script Title: Smooth Navigational Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: To accommodate an image set in <li class="pumpkin"> with CSS as:
.pumpkin {
background-image:url('../images/creepy/pumpkin2.png');
background-repeat:no-repeat;
background-position:center;
padding:0px;
}
I have set a minimum height as:
.ddsmoothmenu-v ul li {
position: relative;
min-height:111px;
}
This makes ALL sub menu ul li's 111 pixels when I just want them to be 15px or so to accommodate simple text with no image setting.
I fooled around with a:selected in various places to no avail.
How can I get these sub menu <li>'s to be different height?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: To accommodate an image set in <li class="pumpkin"> with CSS as:
.pumpkin {
background-image:url('../images/creepy/pumpkin2.png');
background-repeat:no-repeat;
background-position:center;
padding:0px;
}
I have set a minimum height as:
.ddsmoothmenu-v ul li {
position: relative;
min-height:111px;
}
This makes ALL sub menu ul li's 111 pixels when I just want them to be 15px or so to accommodate simple text with no image setting.
I fooled around with a:selected in various places to no avail.
How can I get these sub menu <li>'s to be different height?