By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

<td> width

100+
P: 160
hello
i have a problem that i fix width of <td> e.g. width="25"

but when data is entered larger than this width than it disturb whole page because it go like this

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

i want that it should go like this

wwww
wwww
wwww
wwww
wwww

mean not beyond width of <td>
Jun 25 '08 #1
Share this Question
Share on Google+
3 Replies


Atli
Expert 5K+
P: 5,058
Hi. Welcome to Bytes!

I've moved you question over to the HTML/CSS forum, where it belongs.
Please try to post your questions in the appropriate forums.
Jun 25 '08 #2

Atli
Expert 5K+
P: 5,058
As to your question.

As far as I know, there is no standard way (yet) of wrapping text like that.

Edit:
IE does support the "word-break: break-all" style, but I think that is proprietor and will most likely only work in IE.
Might be in the CSS3 standard tho... not sure.
Jun 25 '08 #3

hsriat
Expert 100+
P: 1,654
Try using nested divs inside td.
Jun 25 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.