• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Text wrapping on white-space

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
white-space: nowrap;
 
Wishu Reddy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, it worked
 
That feels good. Thanks. Here's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic