Einzelnen Beitrag anzeigen

1ceman

Registriert seit: 16. Dez 2005
Ort: Odenthal
134 Beiträge
 
Delphi 6 Personal
 
#1

[HTML] Problem mit positionierung des Inhalts

  Alt 18. Jan 2007, 13:41
Delphi-Quellcode:
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr valign="bottom">
   <td>[img]bilder/vorlage-logo.gif[/img]</td>
   <td width="700" align="left"><font style="font-size:18px; font-weight:bold;"><?php echo $bereich ?></font></td>
</tr>
<tr>
   <th align="right">Teilnehmer:</th>
   <td algin="left"><?php echo nl2br($teilnehmer) ?></td>
</tr>
<tr valign="top">
   <th colspan="2" align="center">Ziele:</th>
</tr>
<tr valign="top">
   <td colspan="2" align="center"><?php echo nl2br($ziele) ?></td>
</tr>
<tr>
   <td valign="top" colspan="2">
      <table border="0" cellpadding="0" cellspacing="0" align="center">
      <tr valign="bottom">
         <th width="133" height="50">wann</th>
         <th width="250">Meilensteine</th>
         <th align="left">Strategien / Prozesse:</th>
      </tr>
         <?php echo nl2br($inhalt)?>
<?php if (trim($erlaeuterungen) <> '')
     {      ?>
      <tr>
         <td colspan="2"></td>
         <td align="left">
            <table cellpadding="0" cellspacing="0" align="left">
            <tr>
            <td>ggf. Erläuterungen:</td>
            <td><?php echo nl2br($erlaeuterungen)?></td>
            </tr>
            </table>
         </td>
      </tr>
<?php }
 ?>
      <tr>
         <td colspan="2"></td>
         <td align="left">
            <table cellpadding="0" cellspacing="0" align="left">
            <tr>
            <th width="150" align="left">Evaluation:</th>
            <td><?php echo nl2br($evaluation)?></td>
            </tr>
            </table>
         </td>
      </tr>
      </table>
   </td>
</tr>
</table>
Das Problem ist, dass der align befehl nichts bringt. also die Inhalte werden immer in der mitte angezeigt, sowohl beim FireFox als auch beim IE.
Ich hab leider keine ahnung woran es liegen könnte, hab schon versucht das align="center" beim <table> wegzulassen, dass hat aber auch nichts gebracht.
Hoffe ihr könnt mir Helfen...
Roman
  Mit Zitat antworten Zitat