This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with word wrap
 
Similar Threads
Long String in a JDialog
How do I wrap a Label in AWT?
Wrapping up HTML Select
wordwrap_JTable
How to lock the width of a TD indipendently from text?