Hallo Gunther,
Mag ja sein, dass ich etwas 'begriffsstutzig' bin,_aber_dann poste doch bitte mal ein konkretes (Code-)Beispiel, für ein DIV-Element, welches bei jeder Fenstergröße nach oben einen Abstand von 100px, nach rechts von 20px, nach unten von 30px, und nach links von 160px hat (mal abgesehen davon, ob es einen Browser gibt, der das richtig darstellt - also rein nach Standard).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<title>
Untitled
</title>
<style type="text/css">
html, body { width:auto; height:100%; padding-top:100px; padding-right:20px; padding-bottom:30px; padding-left:160px; margin:0px; border:0px; background:#ccc; }
#box1 { height:inherit; width:inherit; padding:0px; margin:0px; border:solid 1px green; }
</style>
</head>
<body>
<div id="box1">
für ein DIV-Element, welches bei jeder Fenstergröße nach oben einen Abstand von 100px,
nach rechts von 20px, nach unten von 30px, und nach links von 160px hat (mal abgesehen davon,
ob es einen Browser gibt, der das richtig darstellt - also rein nach Standard).
</div>
</body>
</html>
Opera 7.03 Stellt es richtig dar.
Grüße
Thomas