File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of pre tag avoids word wrapping

 
Periakaruppan Thiagarajan
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have used the pre tag to display dynamic content in pre-formatted text. But this avoids word wrapping which leads to horizontal scroll bar appearing in the screen. Is any other way to avoid this?

Thanks,
Pk
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because that is what the pre tag does!

Look into CSS with word wrap and try setting a width.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic