I have a data which is so long and i want to fix the width of the td. I am not able to do it. The table width gets increased based on the data. Please give a solution to fix the table/td width irrespective of the data.
Thanks in advance ... [ July 09, 2008: Message edited by: Shiaber Shaam ]
Well, yeah. If there are no breaks in the text, the cell will stretch to accommodate the text. Is that the actual data? If not, please don't waste our time with nonsense. What's the actual data that's causing the issue?
And if the real data turns out to not be breakable, was is the result you seek? Wrapping? Clipping?
Joined: Jun 16, 2006
I am not here to waste our folks' time. This is the test data in our application. I just wanted to know whether its possible to wrap this text by fixing the td width. I have spent more than 5 hours in fixing it and found the data which creates the problem.
No. The table tag will not wrap data without breaks (like spaces). If you want the datra to break, you'll need to add spaces to it where you want it to break. If you want long data to clip, you can investigate the clip CSS property.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com