Hi
Ich hab ein Problem und zwar wird mein rechter Div .content ein Stück nach unten verschiben.
Code:
Kann mir bitte jemand helfen?
Danke
Ich hab ein Problem und zwar wird mein rechter Div .content ein Stück nach unten verschiben.
Code:
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=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
#container {
width: 800px;
margin:0 auto;
}
#header {
width: 800px;
height: 147px;
background:url(images/header.jpg);
}
.navi {
width: 235px;
float: left;
}
.navi .head {
height: 31px;
background:url(images/navi_head.jpg);
}
.navi .body {
background: url(images/navi_bg.jpg);
}
.navi .foot {
height: 16px;
background:url(images/navi_bg.jpg);
}
.content {
width: 553px;
margin-left: 22px;
float: right;
}
.content .head {
height: 40px;
background: url(images/content_head.jpg);
}
.content .body {
background: url(images/content_bg.jpg);
}
.content .foot {
height: 7px;
background: url(images/content_bg.jpg);
}
/* Clearfix */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-block;}
</style>
</head>
<body>
<div id="container" class="clearfix">
<div id="header"></div>
<div id="topnavi"></div>
<div class="navi">
<div class="head"></div>
<div class="body"></div>
<div class="foot"></div>
</div>
<div class="content">
<div class="head"></div>
<div class="body"></div>
<div class="foot"></div>
</div>
</div>
</body>
</html>
Danke