【问题】导航显示长文本是容易折行,和使用white-space:nowrap来处理。 white-space 属性设置如何处理元素内的空白。 p{white-space:nowrap;}表示不折行,一直显示。