Peer: Überlappung

Beitrag lesen

So, der vorherig genannte Quellcode hatte doch nen Fehler.
Ich hab hier die beiden funktionierenden Versionen:

INDEX.HTML
<HTML>

<HEAD>
  <LINK rel="stylesheet" type="text/css" href="scripts/style.css">
  <SCRIPT language="JavaScript" src="scripts/java.js"> </SCRIPT>
  <TITLE>Rahmen und Divs - Überlappung</TITLE>
 <STYLE>
  DIV
   {
  background-color:yellow
   }
 </STYLE>
 </HEAD>

<BODY>
  <SCRIPT language="JavaScript">
   GroupBox(20, 20, 30, 30, 0, 'absolute')
   TextOut(20, 20, 25, 25, 1, 'absolute', 'Inhalt')
  </SCRIPT>

</BODY

</HTML>

JAVA.JS:
function GroupBox(iTop, iLeft, iHeight, iWidth, iZindex, szPosition)
  {
        document.write("<fieldset style="top:" + iTop + "px; left:" + iLeft + "px; height:" + iHeight + "%; width:" + iWidth + "%; z-index:" + iZindex + ";position:'" + szPosition + "'">")
 document.write("</fieldset>")
  }

function TextOut(iTop, iLeft, iHeight, iWidth, iZindex, szPosition, szInhalt)
  {
 document.write("<DIV style="top:" + iTop + "px; left:" + iLeft + "px; height:" + iHeight + "%; width:" + iWidth + "%; z-index:" + iZindex + "; position:'" + szPosition + "'">")
 document.write(szInhalt)
 document.write("</DIV>")
  }

Der IE zeigt es normal an, Mozilla FF und Opera untereinander. Auch mit z-index.

Wie sieht es denn mit diesem "C Compiler" aus? Nutzt der was?

Hilfe angebracht!
Danke,
     Gruß Peer