Hallo,
Nunja, guten Tag alle zusammen.
Ich habe da eine Frage und wäre froh, wenn man mir helfen kann.
Ich möchte, dass rechts der Banner bündig mit dem content ist, leider verschiebt sich dieser am Schluss.
Siehe Screenshot:
http://s5.directupload.net/images/100716/nmj9qsv2.png
die index sieht momentan so aus:
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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
#hg {
background-position:center;
background-image: url(../images/layout/hintergrund.jpg);
float: left;
width: 1200px;
height: 1500px;
}
#navigation {
float: left;
background-image: url(../images/layout/navigation.jpg);
margin-left: 20px;
margin-top: 370px;
width: 983px;
height: 42px;
}
#content {
float: left;
clear: both;
background-color:#c9c5a7;
width: 983px;
height: 200px;
margin-left: 20px;
padding-bottom: 10px;
}
#werbung {
float: left;
width: 180px;
height: 685px;
background-color:#c9c5a7;
margin-left: 10px;
}
#footer {
float: left;
width: 983px;
height: 133px;
background-image: url(../images/layout/footer.jpg);
clear: both;
margin-left: 20px;
}
</style>
</head>
<body>
<div id="bg">
<div id="hg">
<div id="navigation"></div>
<div id="content">Hier kommt der Content rein</div>
<div id="footer">gfg</div>
<div id="werbung">Werbung</div>
</div>
</div>
</body>
</html>
Alles anzeigen