Elements with nowrap get stuck to adjacent elements in WebKit
问题 I have a ul list that I display as a horizontal menu. I'd like the content of each li to remain on one line, but the entire li items to jump lines as necessary. Something like: First entry in the menu Second menu entry These words are short, the LI jumps lines, but doesn't wrap Yet anoter] [And more] [Some more] Logically, I'd just put li {white-space:nowrap;} , but there is a problem with WebKit browsers. Items with nowrap get stuck to adjacent items. So in the case above, all the li will be