File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Wrap attribute in PRE Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Wrap attribute in PRE" Watch "Wrap attribute in PRE" New topic
Author

Wrap attribute in PRE

Adnan Memon
Ranch Hand

Joined: Mar 09, 2003
Posts: 32
i want to wrap the text in pre tag...i m using tag as below;
<pre wrap="soft">....</pre>
Navigator 7.0 is wrapping text but IE 6 is not...is there any work around to warp text in IE6 in Pre tag
i tried different combinations of width and cols in pre tag but not working.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
http://www.coderanch.com/t/114515/HTML-JavaScript/prob-pre-tags
Adnan Memon
Ranch Hand

Joined: Mar 09, 2003
Posts: 32
Solution is good but it is breaking words in IE. What should i do now?
 
 
subject: Wrap attribute in PRE
 
Threads others viewed
Preserve word wrap and line breaks
Formatting text coming from a text area
How to display output in New Line using servlets
Verbatim in Javadoc
printing in printer friendly format
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture