Hallo erst mal,
folgendes Problem habe ich mal wieder.
Ich möchte gerne folgende machen, ein einfaches Design 3 Spaltig Header, Left und Content.
Das ganze soll umschlossen werden von einer 4 Div Box den Wrapper, dass klappt leider nicht so wie ich es mir wünsche.
Leider ist die Div Box Left irgendwie da nicht drin, da ich die Div Box Wrapper gerne mit einer Hintergrundgrafik versehen möchte währe es schon schön das diese Div Box da mit drin ist. Kann man das machen, oder liege ich da völlig falsch mit meiner Sache.
Hier der Code, vielleicht kann mal bitte jemand schauen, was da falsch läuft.
HTML-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>test</title>
<style type="text/css">
<!--
#wrapper {
background-color: #FF0000;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
width: 800px;
}
#header{
background:gainsboro;
padding:5px;
border:1px solid black;
}
#left{
background:silver;
float:left;padding:5px;
border:1px solid black;
width:170px;
margin:5px 0 0 0;
}
#content{
background:darkgray;
padding:5px;
margin:5px 0 0 190px;
border:1px solid black;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 95%;
color: #000000;
margin: 0px;
}
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="header"><br>
</div>
<div id="left"><br><br />
<br />Inhalt
<br />Inhalt
<br />Inhalt
<br />Inhalt
<br />Inhalt
</div>
<div id="content"><br>
</div>
</div>
</body>
</html>
Danke für Eure Hilfe.....