12

Mar

Filed in CSS, Code |

I was searching the internet the other day for a solution to word-wrap preformatted text for pastethat.com. Low and behold, Google answers all, it just takes finding the right keywords. So, the solution:

white-space: pre-wrap;       /* CSS-3                  */
white-space: -moz-pre-wrap;  /* Mozilla, since 1999    */
white-space: -pre-wrap;      /* Opera 4-6              */
white-space: -o-pre-wrap;    /* Opera 7                */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
  • hemant

    Word-wrap Preformatted Text is not working can you tell me how to word wrap in mozilla browser

  • Sharon

    Huge help! Thanks much!

  • Sharon

    Huge help! Thanks much!

  • http://www.discount-louis-vuitton.com louis vuitton for sale

    “Here air jordan 21 products xx, has fashion model, superior quality and service, cheap price and updates quickly.I support strongly always! I want to buy XX, I hesitate to select which style more better.Hope your unique recommends.

  • china wholesale

    Excellent reading, I must say. http://www.cmonc.com You’ve researched the topic very well. thanks for sharing

blog comments powered by Disqus