tags:

views:

2527

answers:

3
+2  A: 

Use white-space:nowrap. Like so:

li {
  white-space:nowrap;
}

Here's some documentation.

sblundy
+4  A: 
ul {
  overflow: auto;  // allow li's to overflow w/ scroll bar
                   // at the bottom of the menu
}

li {
  white-space: nowrap; // stop the wrapping in the first place
}
Owen
A: 

You would also need to give the style the ul:

ul{
 width:250px;
 overflow:auto;
}
slashnick