CSS white-space:nowrap

solemage

New Member
The problem is \[code\]vertical-align: top\[/code\] not workedCSS\[code\]ul { width: 160px; display: block; white-space: nowrap; overflow: auto; vertical-align: top; }li { width: 80px; display: inline-block; }\[/code\]HTML\[code\]<div> <ul> <li>one</li><li>two</li><li>three</li><li>four<br />Test</li> </ul> </div>\[/code\]I need make one, two, three at top like four. Please helpExample here http://jsfiddle.net/Y7PhV/Thank you
 
Back
Top