|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need a help on word wrapping on table cells. I'm having a cell with width=100%. If i type sentences that exceeds this width, it is extending the table. so other table cells gets resized. I need the word to be wrapped and come into the next line.
TA Raghu. |
|
#2
|
|||
|
|||
|
Have you tried setting a width on the table itself?
|
|
#3
|
|||
|
|||
|
Yes I have given the width for the table itself.
Raghu |
|
#4
|
|||
|
|||
|
Maybe for some reason NOWRAP is always TRUE!
Try the following (add WRAP in td element): <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> <td WRAP ...> [/code] I'm not sure this will work in all browsers, it certainly does in IE5! Greetz, ARos ![]() |
|
#5
|
|||
|
|||
|
Well I know that tables or anything will wrap words if there aren't any spaces. Try putting a space right where you need it to wrap. Of course, you might have to change your sentences around. Just a suggestion...
|
|
#6
|
|||
|
|||
|
If you use two tables, the second will never be bigger than the width for the first table.
But your problem might be that you are setting the table-width in % instead of pixels? Steffen |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Help on Word Wrap |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|