View Single Post
Old 11-07-2012, 06:41 PM   PM User | #5
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,462
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by CaptainB View Post
As far as I can read, the white-space:nowrap; collapses whitespace into a single space.
Yes it does - to retain all the spaces you'd use white-space : pre

However white-space : nowrap is the solution to your problem of not having a particular space break. Simply wrap the content either side of the space inside a span and apply the style to that.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote