Is there a way to make text automatically span rows when the first row is full. like
BLEE BLEE BLEE
BLAA BLAA BLAA
BLO BLO BLO
I know this is very n00bish question but i hope u can help
Posted 05 May 2005 - 03:24 PM
Posted 06 May 2005 - 02:46 AM
<table> <tr> <td>BLEE</td><td>BLEE</td><td>BLEE</td> </tr> <tr> <td>BLAA</td><td>BLAA</td><td>BLAA</td> </tr> <tr> <td>BLUU</td><td>BLUU</td><td>BLUU</td> </tr> </table>
<div style="float:left; width:800px; height:20px; border:1px dashed red;"> <div style="float:left;">BLEE</div> <div style="float:left;">BLEE</div> <div style="float:left;">BLEE</div> </div> <div style="float:left; width:800px; height:20px; border:1px dashed lime; margin-top:2px;"> <div style="float:left;">BLAA</div> <div style="float:left;">BLAA</div> <div style="float:left;">BLAA</div> </div> <div style="float:left; width:800px; height:20px; border:1px dashed lime; margin-top:2px;"> <div style="float:left;">BLUU</div> <div style="float:left;">BLUU</div> <div style="float:left;">BLUU</div> </div>
Posted 06 May 2005 - 05:52 AM
<?php $text = "BLEE BLEE BLEE BLAA BLAA BLAA BLO BLO BLO"; $wrapped_text = wordwrap($text, 20, "<br>"); echo $wrapped_text; ?>
Posted 06 May 2005 - 06:14 AM
Posted 06 May 2005 - 07:20 AM
0 members, 1 guests, 0 anonymous users