When you don’t know the width because the links can differ in width you could use display: inline-block on the list item <li> and white-space:nowrap on the list itself <ul>
http://jsfiddle.net/Frd8J/
When you don’t know the width because the links can differ in width you could use display: inline-block on the list item <li> and white-space:nowrap on the list itself <ul>
http://jsfiddle.net/Frd8J/