![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a table cell that I want to wrap text inside of. |
|
I've tried both hard and soft wrap |
#3
| |||
| |||
|
|
I have a table cell that I want to wrap text inside of. I've tried both hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap just fine. Does anyone know how I can fix this? |
#4
| |||
| |||
|
|
Lorenzo Thurman wrote: I have a table cell that I want to wrap text inside of. I've tried both hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap just fine. Does anyone know how I can fix this? Please provide the _URL_ to a _minimal_ example that shows what you tried. I don't have a URL, this is an internal page. Here is the CSS |
#5
| |||
| |||
|
|
Johannes Koch wrote: Lorenzo Thurman wrote: I have a table cell that I want to wrap text inside of. I've tried both hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap just fine. Does anyone know how I can fix this? Please provide the _URL_ to a _minimal_ example that shows what you tried. I don't have a URL, this is an internal page. Here is the CSS .rap{ word-wrap: break-word; } The textarea and table cell are defined like this: td class='rap'><textarea wrap='hard' cols='15' rows='5'></textarea |
#6
| |||
| |||
|
|
I don't have a URL, this is an internal page. |
|
.rap{ word-wrap: break-word; } |
|
The textarea and table cell are defined like this: td class='rap'><textarea wrap='hard' cols='15' rows='5'></textarea |
#7
| |||
| |||
|
|
I have a table cell that I want to wrap text inside of. I've tried both hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap just fine. Does anyone know how I can fix this? |
#8
| |||
| |||
|
|
Lorenzo Thurman wrote: I have a table cell that I want to wrap text inside of. I've tried both hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap just fine. Does anyone know how I can fix this? Firefox wraps happily at spaces, so I suspect that you are using words or strings that are wider than your table cells. In this case, Firefox (and all the Mozilla family) won't wrap. I filed a bug report about this 5 years ago, but it has not been well supported and nobody is working on it now: Thanks, this addresses my issue most directly. I've done some searching |
| https://bugzilla.mozilla.org/show_bug.cgi?id=95067 The same problem used to exist in Opera and Safari. I reported the same bug in these browsers, and Opera fixed it in a few months and Apple in a couple of years. -- Alan Wood http://www.alanwood.net (Unicode, special characters, pesticide names) |
#9
| |||
| |||
|
|
There are some strings that will be longer than the alloted space. I'm not sure how to handle this, but I'll figure out something. |
#10
| |||
| |||
|
|
There are some strings that will be longer than the alloted space. I'm not sure how to handle this, but I'll figure out something. |
![]() |
| Thread Tools | |
| Display Modes | |
| |