Hallo zusammen
Ich habe folgendes Problem
Gerne möchte ich ein Layout machen, welches ohne Tabellen auskommt.
Nur mit DIV Layern.
Wenn ich aber einen DIV Layer mache mit den Angaben height: 100% und weight: 100% geht es im Firefox über den Bildschirm raus. Ich muss horizontal und vertikal scrollen. Im IE läufts ohne Probleme.
Zur Kontrolle habe ich mir mal folgendes gebastelt, da sieht man mein Problem ziemlich deutlich.
Wäre super von euch, wenn ihr das mal anschauen könnt.
Danke und Gruss
Michi
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body, html {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height: 100%;
weight: 100%;
}
.table {
border: medium solid #000000;
height: 100%;
width: 100%;
left: 0px;
top: 0px;
}
-->
</style>
</head>
<body>
<table class="table">
<tr>
<td valign="top"> <div id="Layer1" style="position:absolute; width:100%; height:100%;border: solid 1px #ff3333; z-index:1"></div></td>
</tr>
</table>
</body>
</html>