HTML Tables (Word wrap not working in cells) HELP
Link |
by
on 2007-08-14 20:36:04 (edited 2007-08-27 20:09:53)
| ||||
I'll try to keep it short. How do I make text in a cell of a table word wrap? This:
On the other hand, if I make a table without defining cells, it will word wrap: -- I'm not sure if there's a tag I need to know, or if this is just how Gendou works and there's nothing I can do about it, but help would be greatly appreciated. I've been Googling around for an answer but I haven't had much luck. I'll keep searching while I wait for a reply here. **It doesn't make a difference if I make the width of table and or cell a pixel number rather than a percent. Still busy, but trying to stop by more. •---/zzzzzzzz> |
Re: HTML Tables (Word wrap not working in cells) HELP
|
ok, you need to define a static width not a % width, at least I think thats your problem...
Signature goes here
|
Re: HTML Tables (Word wrap not working in cells) HELP
Link |
by
on 2007-08-27 20:14:21
|
A static width? Is that with pixels--WIDTH="400"--or is there a different way of doing it? Note: I noticed that the second table doesn't show up with Mozilla. Still busy, but trying to stop by more. •---/zzzzzzzz> |
Re: HTML Tables (Word wrap not working in cells) HELP
| ||
Add inline style style="white-space: normal;" to TD element.<table width="400"> <tr> <td width="50%">This fits in cell</td> <td width="50%" style="white-space: normal;">For some reason this doesn't word wrap even though I specified the width of the table and cell</td> </tr> </table> Result:
|
Re: HTML Tables (Word wrap not working in cells) HELP
Link |
by
on 2007-08-31 15:50:02
|
Thank you so much. I worship you Still busy, but trying to stop by more. •---/zzzzzzzz> |