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

Word-wrap by giving width in percentage

P: 9
Hello,
I have problem with word-wrapping. When width is given in pixel style="word-wrap:word-break" works well but when it is given in percentage then it is not working.

<table border="1" width="20%">
<tr>
<td width="10%" style="word-wrap:break-word">
cccccccccccccccccccccccccccccccccccccccccccccccccc cccccccccccccccccccccccccccccccccccccccccccccccccc cccccccccccccccccccccccccccccccccccccccccc
</td>
</tr>
</table>

Also word-wrap:break-word not working in safari.



Please Help
Thanks
Vedika
Apr 26 '08 #1
Share this Question
Share on Google+
1 Reply


drhowarddrfine
Expert 5K+
P: 7,435
word-wrap is not a standard property but is in the CSS3 draft and is supported by some browsers, I just don't recall which ones.
Apr 26 '08 #2

Post your reply

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