text overflow, CSS bug?? pls help...
Posted: Wed Dec 21, 2011 12:04 am
i have a problem when posting on my forums...
when i post something the text always seems to overflow the div or the actual table...
this is the code
plss help i really need it...tnks 
when i post something the text always seems to overflow the div or the actual table...
this is the code
Code: Select all
<table style="table-layout:fixed;">
<tr>
<th style="font-size:36px;text-align:left;"><strong><? echo $rows['topic']; ?></strong></th>
</tr>
<tr>
<th style="text-align:left"><strong>Date/time : </strong><? echo $rows['datetime']; ?></th>
</tr>
<tr>
<td style="text-align:left"><? echo $rows['detail']; ?></td>
</tr>
<tr>
<td style="text-align:left"><strong>By :</strong> <? echo $rows['username']; ?></td>
</tr>
</table>
and the css
table{
width:1025px;
margin-left:20px;
border-bottom:10px solid #999;
}
tr th{
background-color:#FF6;
border-bottom:1px solid #000;
border-left:1px solid #000;
border-right:1px solid #000;
width:800px;
}
tr td{
border-bottom:1px solid #000;
border-left:1px solid #000;
border-right:1px solid #000;
background-color:#6F9;
width:800px;
line-height:normal;
}