Matthias: div breite

Beitrag lesen

Der Quellcode.
Die Divs sollen aber nur maximal 100% des Browsers ausmachen

Vielen Dank

<html>
<head>
</head>
<body style="margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; ">
<div id="main" style="position: absolute;background-color:#FFFFFF;height: 100%;width: 100%;margin-left: 150px;margin-top: 100px; ">
<!-- Layout Main divs -->
 <div style="background-image:url(img/maineck.gif); background-repeat: no-repeat; background-position: top left; height: 39px; width: 35px; position: absolute;"></div>
 <div style="background-image:url(img/graypoint.gif); background-repeat: repeat-x; height: 1; width: 100%; position: absolute;"></div>
 <div style="background-image:url(img/graypoint.gif); background-repeat: repeat-y; height: 100%; width: 1px; position: absolute;"></div>
<!-- Layout divs Main ende -->
 asdasd
</div>
</body>
</html>