http://www.cssplay.co.uk/menus/final_drop.html
My problem is that when i have a text like "Contact us" for menu item it wraps around in IE but its fine in firefox .For primary item the link must not wrap and for secondary item if the link wraps its ok.I tried the css property white-space: no-wrap
like this
Expand|Select|Wrap|Line Numbers
- /* style the links for the top level */
- #menubar a, #menubar a:visited {
- display:block;
- font-size:11px;
- font-weight: bold;
- text-decoration:none;
- color:#fff;
- height:15px;
- background-color:#859fcf;
- margin: 5px 3px 0 15px;
- /*margin: 1px 3px 0 30px;*/
- }
- /* a hack so that IE5.5 faulty box model is corrected */
- * html #menubar a, * html #menubar a:visited {
- width:20px;
- w\idth:20px;
- margin: 5px 3px 0px 15px;
- white-space: no-wrap;
- }
but its taking for the second level link also ...i want the nowrap to work for the primary links only...
thanks,
Pradeep