Hallo,
wieso bekomme ich immer einen Scrollbalken? Ich möchte das "left" und "main" immer der größe vom Browser anpassen (höhe). Wenn ich es so lasse, muss ich scrollen.
Danke im Voraus und Grüße
wieso bekomme ich immer einen Scrollbalken? Ich möchte das "left" und "main" immer der größe vom Browser anpassen (höhe). Wenn ich es so lasse, muss ich scrollen.
Danke im Voraus und Grüße
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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link href="style/css/reset.css" media="screen" rel="stylesheet" type="text/css" />
<style type="text/css">
* {
margin: 0px;
padding: 0px;
}
html {
background-color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
height: 100%;
}
/* Body Base */
body {
background-color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
color: #000000;
height: 100%;
}
#wrapper {
width: 100%;
height: auto;
min-height: 100%;
background-color: maroon;
min-width: 1000px;
}
#header {
width: 100%;
height: 80px;
background-color: yellow;
min-width: 1000px;
position: absolute;
}
#left {
width: 220px;
background-color: fuchsia;
min-height: 100%;
height: 100%;
position: absolute;
top: 80px;
bottom: 0px;
}
#main {
width: 100%;
height: auto;
min-height: 100%;
min-width: 780px;
background-color: teal;
position: absolute;
top: 80px;
bottom: 0px;
left: 220px;
}
</style>
<title>Startseite</title>
</head>
<body>
<div id="wrapper">
<div id="header">
header </div>
<div id="left">
left </div>
<div id="main">
main </div>
<div style="clear: both">
</div>
</div>
</body>
</html>