user1692333
user1692333

Reputation: 2597

How to display string inline?

How to force in twitter bootstrap show text inline with overflow? For example in http://jsfiddle.net/nonamez/jJdX4/ overflow is working except the inline words. In my code nothing works.

enter image description here

Upvotes: 0

Views: 61

Answers (1)

Omega
Omega

Reputation: 3038

Use white-space and set it to nowrap which will make text go into one line until a break is reached.

li {white-space:nowrap;}

http://jsfiddle.net/jJdX4/1/

Upvotes: 1

Related Questions