Forum Moderators: not2easy

Message Too Old, No Replies

Any way to force a table cell to wrap

Need to wrap long lines that have no spaces

         

Fotiman

3:23 pm on Jan 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a table cell that can contain really long strings. The problem is that when that happens, the contents push the table width out past the width of a containing block, breaking the layout.

Is there a way to force a table to wrap really long text even when there is no space in the string? I'm guessing there's not, but thought I would check.

Iguana

10:56 am on Jan 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1. You can introduce a space in the string

2. You can enclose the text in a div and use "overflow:auto" so that it has scrollbars when beyond your specified size