Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Text wrapping on white-space  RSS feed

 
Wishu Reddy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
white-space: nowrap;
 
Wishu Reddy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, it worked
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!