Wrapping text automatically?

liunx

Guest
Can someone please help me how to wrap text on a particular column automatically?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="600" border="1" cellspacing="2" cellpadding="2">
<tr>
<td width="25%">dddddddddddddd</td>
<td width="25%">ddddddddddddddd</td>
<td width="25%">dddddddddddddddd</td>

<td width="25%">dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd ddddd</td>
</tr>
</table>
</body>
</html>Text wraps automatically normally, not though if it is a string of characters<td width="25%">ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­
ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd­ddddd</td>&shy; (<!-- m --><a class="postlink" href="http://www.dam.brown.edu/people/fb/shy173.html">http://www.dam.brown.edu/people/fb/shy173.html</a><!-- m -->)Problem is solved :
<td width="45%" style="word-break:break-all;">

thanksOriginally posted by gmmsk7
Problem is solved :
<td width="45%" style="word-break:break-all;">

thanks Looks like it will work in a total of 4 versions of IE and that's it. (IE/Mac, IE5/Win, IE5.5/Win and IE6/Win).

That'll shrink your audience a bit.See for yourself: <!-- m --><a class="postlink" href="http://www.corecss.com/properties/property.php?Name=word-break">http://www.corecss.com/properties/prope ... word-break</a><!-- m -->
 
Back
Top