![]() |
word wrap in a table cell? <solved!>
I have a narrow table with narrow columns within in. One column may have long entries entered, but I want the table to keep its shape rather than being stretched by the long entries. How can I apply a word wrap attribute to this table cell? Or the whole table? Thanks! ;)
|
hmm...
Mine automatically wraps... if all else fails, try this: :
<table width=100%>Good luck! |
The table width is set to 100%, but it's in a frame (Yeah, I know, I know, I didn't design it...) that's only about 164 pixels wide. When a long entry appears, the table stretches and a horizontal scrollbar appears at the bottom of the frame. My boss doesn't like this. She wants the entry 9933994857665 to appear something like:
9933994 857665 and the table row to suitably double its height. Can it be done? Oh, please, someone, tell me how. Then give me your boss' phone number and I'll tell him to give you a raise. |
Ah-ha!
I'm a superhero! :
<table> |
You are a superhero, no doubt. But it turns out what I really needed was:
<td style="word-break: break-all">. I'll still tell your boss you deserve a raise, though. |
| All times are GMT -5. The time now is 5:30 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC