468,301 Members | 1,421 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

Word-wrap by giving width in percentage

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
1 4587
drhowarddrfine
7,435 Expert 4TB
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.

Similar topics

20 posts views Thread by Al Moritz | last post: by
8 posts views Thread by sudha | last post: by
reply views Thread by Maileen | last post: by
1 post views Thread by beanie | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.