fr@gma: DIV relativ positionieren

Beitrag lesen

Hallo,

ich habe hier ein kleines Problem:
Ich möchte ein DIV-Bereich sowohl horizontal als auch vertikal relativ positionieren.
Im Firefox funkioniert das auch prima – im InternetExplorer aber eben nicht, hier wird der DIV-Bereich vertikal nicht korrekt verschoben.
Könnte mir jemand sagen woran das liegt?

Hier ein Test-Script:

<table width="100%" height="100%">
  <tr>
    <td align="center" valign="middle">
      <table width="390" height="300" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="left" valign="top">
            <div id="Layer1" style="position:relative; left:0px; top:0px; width:100px; height:100px;">
            </div>
          </td>
        </tr>
      </table></td>
  </tr>
</table>