text wrap in a div - example inside
I am trying to wrap text inside a div with text from mysql and it seems to
flow over the set width. i am using this as the code.
<div style='width:100px; min-height:20px; float:left; margin-left:10px;
border:1px solid #ccc; white-space: none;'>
<? echo "".$row['msg']."<br><br>"; ?>
</div>
http://www.2click4.com/test/mods/chatrooms/index2.php?cid=Noosa-Heads@-Queensland@-Australia
here is the site i am trying to get the result on. you will see the 2
larger posts.
No comments:
Post a Comment