change width of sub-menus only

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
forwardtrends
Beginner
Beginner
Posts: 1
Joined: Mon Oct 23, 2006 7:24 pm

change width of sub-menus only

Post by forwardtrends »

I am using the CSS list based menu on a site and need to set the width of all sub-menu (drop downs) to a static width. The top level menu items are set to dynamic width. I have tried setting CSS styles to it ie.. basically because a long button like" HERE IS A BUTTON" with a bunch of sub sections like "1" "2" "3" etc... looks really bad since the sub menu is so skinny - also it's very unusable and setting "menuwidth" is not an option

#milonicmenu1 li ul {width:150px;}

but that doesn't work. Please let me know how I can adjust this.

Thanks
Post Reply