File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Wrapping content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Wrapping content" Watch "Wrapping content" New topic

Wrapping content

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi guys, I already tried searching the forums and gooling. I was able to solve this problem by inserting <BR/> on server side but now I feel like I shouldn't be doing this anymore. My layout is getting messed up whenever a lengthy content is being placed like a very long e-mail address. How can I solve this problem?

SCJP 1.5 -
Oricio Ocle
Ranch Hand

Joined: Nov 30, 2004
Posts: 284

Make the container scrollable.
CSS overflow attribute.
I agree. Here's the link:
subject: Wrapping content