CSS Library: Horizontal CSS Menus: Here
SuckerTree Horizontal Menu
Author: Dynamic Drive
SuckerTree Horizontal Menu is a CSS and DOM hybrid menu that's list based and supports multiple levels of sub menus. The trick to SuckerTree is a small adoptable piece of JavaScript that crawls the inner levels of a list menu and assigns the appropriate show/hide and positioning behavior to them. You can even have multiple SuckerTree menus on the same page.
See also: SuckerTree Vertical Menu.
Demo:
The two bullet images used:
![]()
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 25 of 32 pages « First < 23 24 25 26 27 > Last »
<code>
#underlinemenu ul{
margin: 0;
margin-bottom: 1em;
padding-left: 0;
padding-top: 2px;
padding-bottom: 4px;
float: left;
font-weight: bold;
width: 100%;
border: 1px solid #DFDFDF;
border-width: 1px 0;
}
#underlinemenu ul li a{
float: center;
color: gray;
font-weight: bold;
padding: 2px 6px 4px 6px;
text-decoration: none;
background: white url(media/menudivide.gif) top right repeat-y;
i like this menu a lot, very flexible.
i used it previously without incident, now however i have the sub menu's going over-top of a flash banner.
i used a z-index and all works well, except that the submenu "shifts" to the right one pixel where the menu crosses over the flash. does anyone know what causes this?
width: 90px; /*Width of top level menu link items*/
I want it to be auto width - but setting it to auto (or just getting rid of the width statement) doesn't work in IE.
Thanks for your help!
Jon
/* Holly Hack for IE \*/
* html .suckertreemenu ul li ul li { float: left; height: 1%; } /* corrected to the proper level \*/
* html .suckertreemenu ul li ul li a { height: 1%; } /* corrected to the proper level \*/
/* End */
Comment Pages 25 of 32 pages « First < 23 24 25 26 27 > Last »
Commenting is not available in this weblog entry.





