Nieuw lid |
|
Ik heb 2 tabellen de eerste doet het goed.
maar de 2de doet het niet.
Die van reageer die trekt over het hele scherm heen.
Kan iemand mij helpen?
echo "<table class='inhoud' cellspacing='0' width='50%' align='right'>
<tr class='kop'>
<td align='center'>".$topic['onderwerp']."</td>
</tr>
<tr class='kop'>
<td><div align='left'>Topicstarter: <a href='profiel.php?id=".$result['starter']."'>".userinfo($result_van['username'])."</a> - ".$topic['tijd']."</div></td>
</tr>
<tr>
<td>".$topic['topic']."</td>
</tr>
</table>";
echo "<br>";
echo "<table class='inhoud' cellspacing='0' width='50%' align='right'>
<tr>
<td><div align='center'><a href='".$PHP_SELF."?actie=reageer&id=".$tid."'>Reageer</div></a></td>
</tr>
</table>";
echo "<table class='inhoud' cellspacing='0' width='50%' align='right'> <tr class='kop'> <td align='center'>".$topic['onderwerp']."</td> </tr> <tr class='kop'> <td><div align='left'>Topicstarter: <a href='profiel.php?id=".$result['starter']."'>".userinfo($result_van['username'])."</a> - ".$topic['tijd']."</div></td> </tr> <tr> <td>".$topic['topic']."</td> </tr> </table>"; echo "<table class='inhoud' cellspacing='0' width='50%' align='right'> <tr> <td><div align='center'><a href='".$PHP_SELF."?actie=reageer&id=".$tid."'>Reageer</div></a></td> </tr> </table>";
CSS:
body
{
background-color: #27304a;
font-size: 8pt;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #FFFFFF;
}
.inhoud
{
font-size: 8pt;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
border: 1px solid black;
background-color: #15233c;
color: #FFFFFF;
text-align: left;
}
.tcenter
{
font-size: 8pt;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
background-color: #15233c;
color: #FFFFFF;
text-align: center;
}
body { background-color: #27304a; font-size: 8pt; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: #FFFFFF; } .inhoud { font-size: 8pt; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; border: 1px solid black; background-color: #15233c; color: #FFFFFF; text-align: left; } .tcenter { font-size: 8pt; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #15233c; color: #FFFFFF; text-align: center; }
|