wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Text wrapping on white-space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Text wrapping on white-space" Watch "Text wrapping on white-space" New topic
Author

Text wrapping on white-space

Wishu Reddy
Greenhorn

Joined: Jun 28, 2011
Posts: 5
I have the text which is aligned this way with the word wrap as normal.


Interest Rates | Variable Universal Life Current Interest Rates | Inforce
Interest Rates | Whole Life Insurance Current Interest Rates | Fixed Annuity Current
Interest Rates | Variable Annuity Current Interest Rates | Inforce Interest Rates -
Annuities | Retirement Plans Interest Rates

How can I align it in the following way (break after "|") instead of a white space

Interest Rates | Variable Universal Life Current Interest Rates |
Inforce Interest Rates | Whole Life Insurance Current Interest Rates |
Fixed Annuity Current Interest Rates |
Variable Annuity Current Interest Rates | Inforce Interest Rates - Annuities |
Retirement Plans Interest Rates
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

white-space: nowrap;


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Wishu Reddy
Greenhorn

Joined: Jun 28, 2011
Posts: 5
Thanks, it worked
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Text wrapping on white-space