aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes problem with word wrap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem with word wrap" Watch "problem with word wrap" New topic
Author

problem with word wrap

Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Hi guys .. I have made an html table and the value of the text is being fetched from a java-servlet .. the text to be fetched is too long .. and i want to word-wrap the text according to the page . I also tried html word-wrap but still the problem persists .. Kindly help me
Harpreet Singh janda
Ranch Hand

Joined: Jan 14, 2010
Posts: 317

Please use size attribute of TD tage to define the width of data cell.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with word wrap
 
Similar Threads
Wrapping up HTML Select
How to lock the width of a TD indipendently from text?
How do I wrap a Label in AWT?
wordwrap_JTable
Long String in a JDialog