Meaningless Drivel is fun!
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: 751
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Wrapping content
It's not a secret anymore!