Layout mit 100% height und width

Status
Nicht offen für weitere Antworten.
Folgende Zeilen aus dem Code der header.php entfernen:

Code:
<html>
<head>

</HEAD>
<BODY ONLOAD="init()">

</BODY>
</html>
 
Hast du auch den rotmarkierten Teil entfernt?

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Kundenverwaltung</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
</html>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>

<body>

<div id="header">

<SCRIPT>
var loaded = false;
if (document.layers)
  document.write(
'<STYLE>.rewritable { position: absolute; }<\/STYLE>'
  );
function Clock (offsetSec, style) {
  this.id = Clock.cnt;
  Clock.clocks[Clock.cnt++] = this;
  this.offsetSec = offsetSec || 0;
  this.style = style || '';
  this.writeHTML();
  this.startTimer();
}
function Clock_writeHTML () {
  var html = '';
  if (document.layers) {
    html += '<SPAN';
    html += ' ID="Clock' + this.id + '"';
    html += ' CLASS="rewritable"';
    html += '>';
    html += '<SPAN';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
    html += '<\/SPAN>';
  }
  else {
    html += '<SPAN';
    html += ' ID="Clock' + this.id + '"';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
  }
  document.write(html);
}
Clock.prototype.writeHTML = Clock_writeHTML;
function Clock_formatTime () {
  var time = new Date();
  time.setTime(time.getTime() + this.offsetSec * 1000);
  var hours = time.getHours();
  var minutes = time.getMinutes();
  var seconds = time.getSeconds();
  var html = '';
  html += hours < 10 ? '0' + hours : hours;
  html += ':';
  html += minutes < 10 ? '0' + minutes : minutes;
  html += ':';
  html += seconds < 10 ? '0' + seconds : seconds;
  return html;
}
Clock.prototype.formatTime = Clock_formatTime;
function Clock_startTimer () {
  this.tid = setInterval('Clock.clocks[' + this.id + '].updateTime()',
1000);
}
Clock.prototype.startTimer = Clock_startTimer;
function Clock_updateTime () {
  if (document.all)
    document.all['Clock' + this.id].innerHTML = this.formatTime();
  else if (document.getElementById)
    document.getElementById('Clock' + this.id).firstChild.nodeValue =
      this.formatTime();
  else if (document.layers && loaded) {
    var l = document['Clock' + this.id];
    if (!l.ol) {
      var ol = l.ol = new Layer(l.clip.width);
      ol.clip.height = l.clip.height;
      ol.left = l.pageX; ol.top = l.pageY;
      ol.visibility = 'show';
      l.visibility = 'hide';
    }
    var ol = l.ol;
    var html = '';
    html += '<SPAN';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
    ol.document.open();
    ol.document.write(html);
    ol.document.close();
  }
}
Clock.prototype.updateTime = Clock_updateTime;
Clock.cnt = 0;
Clock.clocks = new Array();
function init () {
  loaded = true;
}
</SCRIPT>

Ihre IP-Adresse lautet 80.109.97.178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Samstag der, 24. Februar 2007 -

<SCRIPT>
new Clock(0, 'js');
</SCRIPT>
</div>
<div id="container">
<div id="menu">
&nbsp;<br />
<div class="navi" align="center">Navigation</div>
&nbsp;<br />
<div class="menu-bg"><a href="index.php" class="menu">Home</a></div>

<div class="menu-bg"><a href="#" class="menu">Kunden eintragen</a></div>
<div class="menu-bg"><a href="#" class="menu">Kunden suchen</a></div>
<div class="menu-bg"><a href="#" class="menu">Vertrag eingeben</a></div>
<div class="menu-bg"><a href="#" class="menu">Vertrag suchen</a></div>
<div class="menu-bg"><a href="account.php" class="menu">Account Infos</a></div>
&nbsp;<br />
--------------------------<br />
<div class="menu-bg"><a href="logout.php" class="menu">Logout</a></div>
--------------------------<br />

&nbsp;<br />
User: &nbsp;<b><br />admin</b><br /><br />
Rang: <b><br />Administrator</b><br />
&nbsp;<br /></div>
<div id="content">


 <table width="600" border="0" align="center" class="table" >
   <tr>
     <td class="table1">ID:</td>

     <td class="table1">1</td>
   </tr>
     <tr>
     <td class="table2">Username:</td>
     <td class="table2">admin</td>
   </tr>
     <tr>

     <td class="table1">Rang:</td>
     <td class="table1">Administrator</td>
   </tr>
   <tr>
     <td class="table2">Vorname:</td>
     <td class="table2">Alexander</td>
   </tr>

   <tr>
     <td class="table1">Nachname:</td>
     <td class="table1">Bischof</td>
   </tr>
   <tr>
     <td class="table2">Email Adresse: </td>
     <td class="table2">support@linux-user.at</td>

   </tr>
   <tr>
     <td class="table1">Letztes Login: </td>
     <td class="table1">24.02.2007 / 11:19:28 </td>
   </tr>
     <tr>
     <td class="table2">Letzte IP: </td>

     <td class="table2">80.109.97.178</td>
   </tr>
 </table>


</div>
<div id="footer" align="center">DVM Kundenverwaltung &copy; by <a href="mailto:webdesign@pcmasters.at" class="menu">Alexander Bischof</a></div><div class="clear"></div>
</div>

</body>
</html>
 
Hi
Ich hab das selbe Problem schon wieder aber bei einer anderen Datei, aber diesmal hab ich den <html>.... Teil nicht zweimal.
Hier mal mein Code:
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link rel="stylesheet" type="text/css" href="../style.css" />
</head>

<body>

<div id="header"><SCRIPT>
var loaded = false;
if (document.layers)
  document.write(
'<STYLE>.rewritable { position: absolute; }<\/STYLE>'
  );
function Clock (offsetSec, style) {
  this.id = Clock.cnt;
  Clock.clocks[Clock.cnt++] = this;
  this.offsetSec = offsetSec || 0;
  this.style = style || '';
  this.writeHTML();
  this.startTimer();
}
function Clock_writeHTML () {
  var html = '';
  if (document.layers) {
    html += '<SPAN';
    html += ' ID="Clock' + this.id + '"';
    html += ' CLASS="rewritable"';
    html += '>';
    html += '<SPAN';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
    html += '<\/SPAN>';
  }
  else {
    html += '<SPAN';
    html += ' ID="Clock' + this.id + '"';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
  }
  document.write(html);
}
Clock.prototype.writeHTML = Clock_writeHTML;
function Clock_formatTime () {
  var time = new Date();
  time.setTime(time.getTime() + this.offsetSec * 1000);
  var hours = time.getHours();
  var minutes = time.getMinutes();
  var seconds = time.getSeconds();
  var html = '';
  html += hours < 10 ? '0' + hours : hours;
  html += ':';
  html += minutes < 10 ? '0' + minutes : minutes;
  html += ':';
  html += seconds < 10 ? '0' + seconds : seconds;
  return html;
}
Clock.prototype.formatTime = Clock_formatTime;
function Clock_startTimer () {
  this.tid = setInterval('Clock.clocks[' + this.id + '].updateTime()', 
1000);
}
Clock.prototype.startTimer = Clock_startTimer;
function Clock_updateTime () {
  if (document.all)
    document.all['Clock' + this.id].innerHTML = this.formatTime();
  else if (document.getElementById)
    document.getElementById('Clock' + this.id).firstChild.nodeValue =
      this.formatTime();
  else if (document.layers && loaded) {
    var l = document['Clock' + this.id];
    if (!l.ol) {
      var ol = l.ol = new Layer(l.clip.width);
      ol.clip.height = l.clip.height;
      ol.left = l.pageX; ol.top = l.pageY;
      ol.visibility = 'show';
      l.visibility = 'hide';
    }
    var ol = l.ol;
    var html = '';
    html += '<SPAN';
    html += this.style ? ' CLASS="' + this.style + '"' : '';
    html += '>';
    html += this.formatTime();
    html += '<\/SPAN>';
    ol.document.open();
    ol.document.write(html);
    ol.document.close();
  }
}
Clock.prototype.updateTime = Clock_updateTime;
Clock.cnt = 0;
Clock.clocks = new Array();
function init () {
  loaded = true;
} 
</SCRIPT>


Ihre IP-Adresse lautet 80.109.97.178

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Mittwoch der, 28. Februar 2007 - 

<SCRIPT>
new Clock(0, 'js');
</SCRIPT>






</div>
<div id="container">
<div id="menu">
&nbsp;<br />
<div class="navi" align="center">Navigation</div>

&nbsp;<br />
<div class="menu-bg"><a href="../index.php" class="menu">Home</a></div>
<div class="menu-bg"><a href="../kunden/entry_kunden.php" class="menu">Kunden eintragen</a></div>
<div class="menu-bg"><a href="../kunden/search_kunden.php" class="menu">Kunden suchen</a></div>
<div class="menu-bg"><a href="entry_vertrag.php" class="menu">Vertrag eingeben</a></div>
<div class="menu-bg"><a href="#" class="menu">Vertrag suchen</a></div>
<div class="menu-bg"><a href="../upload.php" class="menu">Datei uploaden</a></div>
<div class="menu-bg"><a href="../account.php" class="menu">Account Infos</a></div>
&nbsp;<br />
--------------------------<br />

<div class="menu-bg"><a href="../logout.php" class="menu">Logout</a></div>
--------------------------<br />
&nbsp;<br />
User: &nbsp;<b><br />admin</b><br /><br />
Rang: <b><br />Administrator</b><br />
&nbsp;<br /></div>
<div id="content">



<form method="post" action="?id=19" enctype="multipart/form-data">

<table width="580" border="0" align="center" class="table" />
    </tr>
      <tr>
    <td class="table2">Aktiv</td>
    <td class="table2">
<select name="Aktiv"><option value="ja" selected>ja</option>
<option value="ja">ja</option>
<option value="nein">nein</option>
</select>

</td>
  </tr>
  <tr>
    <td class="table1">Polizzennummer</td>
    <td class="table1"><input type="text" name="Polizzennummer" value="test" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Gesellschaft</td>

    <td class="table2"><input type="text" name="Gesellschaft" value="test" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Wertsicherung</td>
    <td class="table1"><input type="checkbox" name="Wertsicherung" value="on" checked="checked"  /></td>
  </tr>
  <tr>
    <td class="table2">Beginn</td>

    <td class="table2"><input type="text" name="Beginn" value="0000-00-00" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Ablauf</td>
    <td class="table1"><input type="text" name="Ablauf" value="0000-00-00" size="30" />;</td>
  </tr>
    <tr>
    <td class="table2">Hauptf&auml;lligkeit</td>

    <td class="table2"><input type="text" name="Hauptf" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Bruttopr&auml;mie laut Zahlungsweise </td>
    <td class="table1"><input type="text" name="BP" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Zahlungsweise</td>

    <td class="table2"><select name="Zahlungsweise"><option value="einmalig" selected>einmalig</option>
<option value="einmalig">einmalig</option>
<option value="halbj&auml;hrlich">halbj&auml;hrlich</option>
<option value="j&auml;hrlich">j&auml;hrlich</option>
<option value="monatlich">monatlich</option>
<option value="viertelj&auml;hrlich">viertelj&auml;hrlich</option>
</select></td>

  </tr>
  <tr>
    <td class="table1">Bruttojahrespr&auml;mie</td>
    <td class="table1"><input type="text" name="BJP" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Kfz-Art</td>

    <td class="table2"><input type="text" name="KfzArt" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Marke - Type</td>
    <td class="table1"><input type="text" name="Marke" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Kennzeichen</td>

    <td class="table2"><input type="text" name="Kennzeichen" value="W-" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Hubraum</td>
    <td class="table1"><input type="text" name="Hubraum" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Kilowatt</td>

    <td class="table2"><input type="text" name="Kilowatt" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Fahrgestellnummer</td>
    <td class="table1"><input type="text" name="Fahrgestellnummer" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Baujahr</td>

    <td class="table2"><input type="text" name="Baujahr" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table2">Bonus/Malusstufe/Jahr</td>
    <td class="table2"><input type="text" name="BMS" value="" size="30" /></td>
  </tr>
    <tr>
    <td class="table1">Versicherungssumme</td>

    <td class="table1"><input type="text" name="Versicherungssume" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Kfz-Leasing</td>
    <td class="table1"><input type="checkbox" name="KfzLeasing" value=""  /></td>
  </tr>
  <tr>
    <td class="table2">Pannenhilfe/24h Notafallservice </td>

    <td class="table1"><input type="checkbox" name="Pannenhilfe" value=""  /></td>
  </tr>
    <tr>
    <td class="table1">Vollkasko</td>
    <td class="table1"><input type="checkbox" name="Vollkasko" value=""  /></td>
  </tr>
  <tr>
  <td class="table1">Teilkasko</td>

  <td class="table1"><input type="checkbox" name="Teilkasko" value=""  /></td>
  </tr>
  <tr>
    <td class="table2">Selbstbehalt</td>
    <td class="table2"><input type="text" name="Selbstbehalt" value="" size="20"  /></td>
  </tr>
  <tr>
    <td class="table1">Insassenunfall</td>

    <td class="table1"><input type="checkbox" name="Insassenunfall" value=""  /></td>
  </tr>
  <tr>
    <td class="table2">Versicherungssumme Tod </td>
    <td class="table2"><input type="text" name="Versst" value="" size="30" /></td>
  </tr>
  <tr>
    <td class="table1">Vers.Summe Dauerinvalidit&auml;t </td>

    <td class="table1"><input type="text" name="Verssdi" value="" size="30" /></td>
  </tr>
    <tr>
    <td class="table2">Taggeld</td>
    <td class="table2"><input type="text" name="Taggeld" value="" size="30" /></td>
  </tr>
      <tr>
    <td class="table1">Heilkosten</td>

    <td class="table1"><input type="text" name="Heilkosten" value="" size="30" /></td>
  </tr>
      <tr>
    <td class="table2">Anzahl Kfz </td>
    <td class="table2"><input type="text" name="Kfz" value="" size="30" /></td>
  </tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr>
    <td class="table1">Notizen</td>

    <td class="table1"><textarea name="Notizen" cols="50" rows="5"></textarea></td>
  </tr>
<tr><td colspan="2">&nbsp;</td></tr>
   <tr>
  <td></td>
  <td align="center"><input name="Reset" type="reset" value="Abbrechen"><input type="submit" name="submit" value="Speichern" /></td>
  </tr>
</table>
</form>
</div>

</div>
<div id="footer" align="center">DVM Kundenverwaltung &copy; by <a href="mailto:webdesign@pcmasters.at" class="menu">Alexander Bischof</a></div><div class="clear"></div>
</div>

</body>
</html>

Ich hoffe du kannst mir helfen.
Thx
 
Hi,

ich kann da keine Darstellungsfehler bzw. -unterschiede in den Browsern feststellen.

Von daher solltest du das vermeintliche Problem auch beim Namen nennen und kurz beschreiben.
 
Notier mal das DIV #footer und .clear innerhalb des DIV #container, so wie in den vorangegangenen Seiten auch.

Hierfür musst du lediglich das doppelt vorhandene schliessende </div> vor dem DIV #footer entfernen.
 
Status
Nicht offen für weitere Antworten.
Zurück