gustav: verschiedene Positionierung von popup bei IE und Mozilla

Beitrag lesen

Hallo,

ich habe das Problem, daß im IE folgende Code in der Mitte der Seite zu sehen ist, aber bei Mozilla in obere Bereich der Seite, es wäre nett, wenn jemand mir sagen könnte, wie ich es hinkriegen kann, daß es auch bei Mozilla in der Mitte der Seite zu sehen ist:

<html>
<head>

<SCRIPT language=JavaScript>
var showbox = "1";

if (showbox) {
 var ende = false;
 var pop;

function MMSetup() {
  pop = document.getElementById("popup").style;
    document.onmousemove = MovePopup;
    MovePopup();
  }

function MovePopup() {
  if (!ende) {
   pop.top = document.body.scrollTop-30;
   pop.height = document.body.offsetHeight+30;
  }
 }

function pms_close() {

ende = true;
  pop.visibility = "hidden";
 }

window.onscroll = MovePopup;
}
</SCRIPT>
</head>

<body topmargin="0" leftmargin="0" onload="winopen()">
<DIV id=popup style="LEFT: 0px; POSITION: absolute; TOP: -150px; HEIGHT: 0px"
width="100%">

<TABLE height="100%" width="100%">
  <TBODY>
  <TR>
    <TD align=middle>
      <TABLE cellSpacing=1 cellPadding=4 width=400>
        <TBODY>
        <TR>
          <TD>Hallo Leute</TD></TR>
        <TR>

<TD><br><center>Herzlichen Wilkommen !</center>

<BR><BR>
            <TABLE cellSpacing=0 cellPadding=0>
              <TBODY>
              <TR>
               </TR></TBODY></TABLE>
            <TABLE width="100%">
              <TBODY>
              <TR>
                <TD align=middle width="50%">
                  <TABLE cellSpacing=1 cellPadding=3 width=150
                    bgColor=#555555><TBODY>
                    <TR id=title bgColor=#DBDBDB>

<TD align=middle><A href="Seite1.php>Ja</A>
                      </TD></TR></TBODY></TABLE></TD>
                <TD align=middle width="50%">
                  <TABLE cellSpacing=1 cellPadding=3 width=150
                    bgColor=#555555><TBODY>
                    <TR id=title bgColor=#DBDBDB>
                      <TD align=middle><A href="javascript:pms_close()">Schließen</A></B></FONT>
                      </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=JavaScript>MMSetup();</SCRIPT>

Danke im Voraus.

Gruß
G.M.