I have a column where some users are not entering spaces (i.e.: .........................................) and it is stretching my TD column.
Is there a way to force line breaks in html with a simple option? If not, I think I am going to have to break the line up myself, which would not be optimal, as I would have to determine the best places to break a line, and I don't want to do that.
I am looking for something that will work in the 3 main browsers (ie/firefox/safari)
Here is my code:
<td valign="top">
<br><strong><?php echo $common->stripHtml($row['one_liner']); ?></strong><br>
<hr>
<?php
if (strlen($row['self_description']) > 240)
{
echo substr($common->stripHtml($row['self_description']), 0, 240)."... <a href='viewprofile.php?i=".$row['user_id']."'>more</a>";
}
else
{
echo $common->stripHtml($row['self_description']);
}
?>
</td>