Alex: Tabellen anordnen

Beitrag lesen

Ja also das is der Quellcode....hoffe der hilft...vl sieht dann auch jemand was ich bei der passwort kontrolle mit javascript falsch gemacht hab...bin erst anfänger...danke!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>...</title>
<script type="text/javascript">
 function Geheim () {
 var Passwort = "...";
 var Eingabe = "schutz2"
 if (Eingabe != Passwort) {
 alert("Wrong Password!")
 } else {
 location.href = "2.html";
 }
 }
</script>
<link rel="shortcut icon" href="cd 3.ico" />
<link rel="icon" href="cd 3.ico" />
<style type="text/css">
 body {background-image: url(back.jpg);}
 .bg1 {background-image: url(back2.jpg);}
 .bg2 {background-image: url(back3.jpg);}
 .unten {vertical-align:bottom}

</style>
</head>
<body>
<table width=90% class="bg1" align=center>
<tr><th></th> <br></tr><tr><th width=30%><img src="logo3.gif" width=150></th><th></th></tr>
</table>
<table width=100% align=center>
<tr>
<th bgcolor=blue width=33% height="55" align=right class="unten"><font face=Arial><a href="http://www."><font color=black>....</a></th><th bgcolor=blue width=33% height="55" align=right class="unten"><font face=Arial><a href="..."><font color=white>...</a></th><th bgcolor=blue width=33% height="55" align=right class="unten"><font face=Arial><a href="..."><font color=white>...</a></th>
</tr>
<table border="0" align=right>
  <tr>
    <th height="30">Benutzername:</th>
    <td height="30"><input name="schutz1" size="20"></th>
  </tr>
  <tr>
    <th height="10">Passwort:</td>
    <td height="10"><form name="Passwort"><input name="schutz2" size="20" type="password"></td>
  </tr>
  <tr><td></td><td align=right><input type=button value="Login" onclick="Geheim (document.Passwort.Schutz2.value)"></form></td></tr></table>
<br><br><br><br><br><table align=right><tr><td></td><td><a href="..."><img src="banner.gif" width=260 border="0"></a></td></tr></table>
<table class="bg2" align=center width=50% border="1" rules="none">
<tr height=320>
<th width=20%><font face=Arial color=silver>Music-News</th><th width=30%><font face=Arial color=silver>..........................................</th>
</tr>
<tr height=320>
<th><font face=Arial color=gold>Video-News</th><th><font face=Arial color=gold>............................................................<br><br><a href="viedeostudios"><img border="0" src="Bild2.jpg" width="380"></a></th>
</font></tr>
</table>
</body>
</html>