Fri, 2010-08-13 21:56
How can I prevent this?

<div id="NCCID_<?= $NCI->id ?>" style="clear: left; margin-bottom: 3px;"> <div style="margin-right: 5px; min-height: 64px; background-color: #222222; font-size: 10px; color: #FFFFFF; word-wrap: break-word;"> <img src="<?= $PICTURE ?>" style="float: left;"> <div style="background-color: #2E302E;"> <table cellspacing="0" cellpadding="0" style="font-size: 12px;"> <tr> <td style="width: 182px; text-align: left; padding-left: 2px;"> <span style="color: #FF0000;"><?= $NCI->from ?></span> <span style="color: #FFFFFF;"> - </span> <span style="color: #FE4D1B;"><?= $POSTED_TIME ?></span> </td> <td style="width: 180px; text-align: right; padding-right: 2px;"> <? if($UN == $NCI->from) { ?><img style="vertical-align: -1px;" title="Delete" src="images/x.png" onClick="DELETE_NEWS(<?= $NEWS->id ?>);"><? } ?> </td> </tr> </table> </div> <? echo stripslashes($NCI->content); ?> </div> </div>
Using Doc Type HTML 4.01 Strict
Fri, 2010-08-13 22:18
#1
Code w/o PHP
<div id="NCCID_1" style="clear: left; margin-bottom: 3px;"> <div style="margin-right: 5px; min-height: 64px; background-color: #222222; font-size: 10px; color: #FFFFFF; word-wrap: break-word;"> <img src="test.jpg" style="float: left;"> <div style="background-color: #2E302E;"> <table cellspacing="0" cellpadding="0" style="font-size: 12px;"> <tr> <td style="width: 182px; text-align: left; padding-left: 2px;"> <span style="color: #FF0000;">test</span> <span style="color: #FFFFFF;"> - </span> <span style="color: #FE4D1B;">2:21 pm</span> </td> <td style="width: 180px; text-align: right; padding-right: 2px;"> <img style="vertical-align: -1px;" title="Delete" src="images/x.png" onClick="DELETE_NEWS(1);"> </td> </tr> </table> </div> blah blah blah </div> </div>
Fri, 2010-08-13 23:41
#2
Prevent what? I would just
Prevent what? I would just suggest you have your users use spaces in their sentences, tends to make things easier to read.
