Förb: FireFox problem

Hallo Leute

Ich habe ein kleines Problem mit dem FireFox und ich hoffe ihr könnt mir helfen:
Sobald ich auf log in gehe  erscheint ein in einem <span> das Formular für das Login.
Nun sollte nach dem klick auf den Button-Login die JS-Fkt abc(); aufgerufen werde.
Im IE geht’s  im FireFox leider nicht hat jemand eine Idee??

Code:

<html>
<head>

<style type="text/css">
<!--
dd{ margin-left: 20px; padding: 0; position: absolute;  font-size: 85%; }
dl{ margin-left: 10px;  margin-top: -12px; padding: 0; position: absolute;  font-size: 85%; }

dd#linkLogin a span{ display: none; }

dd#linkLogin a
{
position: absolute;
width: 50px; height: 50px;
text-decoration: none;
}

dd#linkLogin a:hover
{
position: absolute;
top:  0px;
left: 0px;
}

dd#linkLogin a:hover span
{
 display: block;
 color: black;
 position: absolute;
 border: 1px solid #BCBCBC;
 bottom: -115%;
 padding: 5px;
}
-->

</style>

<script language="JavaScript">
<!--
 function abc()
  {
    alert("hallo!!");

}
//-->
</script>

</head>
<body>
            <br><br><br><br><br><br>
             <dl>
               <dd id="linkLogin" >
        <a href="#" class="login_style" id="Link_login" ><b><h1> >> Login</h1>  </b>
          <span>
          <!--###LOGINBOX### start -->
            <form name="Login" id="LoginForm" onSubmit="abc();">
               <table width="200">
                <tr>
                  <td>user:</td>
                  <td><input type="text" name="user" ></td>
                </tr>
                <tr>
                     <td>password:</td>
                  <td><input type="password" name="password"></td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td><input type="submit" name="login" id="login" value="login" ></td>
                </tr>
              </table>
            </form>
          <!--###LOGINBOX### stop-->
          </span>
                 </a>
               </dd>
              </dl>

</body>
</html>

  1. Hi,

    Sobald ich auf log in gehe  erscheint ein in einem <span> das Formular für das Login.

    das darf nicht sein; innerhalb von <span> ist <form> nicht erlaubt.

    <a href="#" class="login_style" id="Link_login" ><b><h1> >> Login</h1>  </b>
              <span>
              <!--###LOGINBOX### start -->
                <form name="Login" id="LoginForm" onSubmit="abc();">

    Und innerhalb von <a> gleich dreimal nicht. Korrigiere zunächst die groben HTML-Fehler; die Wahrscheinlichkeit liegt nahe 100%, dass sie verantwortlich sind.

    <table width="200">

    Tabellen sind innerhalb von <span>, <a> und <b> übrigens ebenfalls nicht erlaubt, genauso wie <h1>.

    Cheatah

    --
    X-Self-Code: sh:( fo:} ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
    X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
    X-Will-Answer-Email: No
    X-Please-Search-Archive-First: Absolutely Yes