Log in

View Full Version : Noob needs help with suckertree menu



beautifulnemesis
09-22-2008, 12:37 AM
I'm pretty new to css menus, but found sucktree to be pretty easy to implement. However, I'm trying to figure out how to set the top level navigation links to auto size based on the length of the link text. Here's what I have:

.suckertreemenu ul li, .suckertreemenu li{
position: relative;
display: inline;
float: left;
width: auto;
border: 1px #FFFFFF solid;
padding: 2px 15px;
}

It seems to work in FF, but in IE6, the length of each link extends across the whole div. Any ideas??? I'm baffled, but perhaps I'm just missing something a noob wouldn't catch. :)

Here's a link: http://www.beautifulnemesis.com/templates/untitled-1.html

TheJoshMan
09-25-2008, 07:08 PM
See this thread...

http://www.dynamicdrive.com/forums/showthread.php?t=35980