Hi
Could someone let me know how I could fixed ( limited ) the width and length of <td> and also if someone posted a long paragraph to that data that it will not expand but will have the info posted going on the 2nd line, 3rd line, etc.
here is an example of my code, it includes PHP
Code:
<table border =1 align=center width=80%>
<tr><td bgcolor =PaleGoldenRod colspan=4>
SSSSSSSSSSS<br><br>
</td>
<tr><td> info 1</td>
<td> info2</td>
<td> info3</td>
<td> info4</td></tr>";
while($info = mysql_fetch_array($data_p))
{//=========================================================================
$photo_row =$photo_row+1;
if($photo_row==1){//------------------------------------------
$photo_row=0;
}//---------------------------------------------------------
print"<tr><td> <div> $info[id]. <font size=2 color=gray> $info[date]</font></div></td>";
echo "<td bgcolor =PaleGoldenRod width=30% >
<a href='$dir".$info[trim(name)]."'>".$info[trim(name)]."</a><br>
</td>
<td>
$info[COMMENT]
</td>
<td>
4
</td>
</tr>";
if($photo_row==1){//--------------------------------------------------
$photo_row=0;
}//----------------------------------------------------------------
}//===========================================================================
}
print"</td></tr></table>";
now how do I set the width limited to info1, and info2 set it's width and height limited and then be able to scroll when too much info is in there. I tried your example and it doesn't work.