Hallo
Ich hätte das gleiche Problem bei mir ist gerade so das es genau passen sollte auch wenn ich eins der beiden um 100px kleiner mache bleibt das Problem.
Hier einmal meine CSS und index.php
Code:
body {
font-size: 12px;
font-family: Helvetica,Arial,sans-serif;
}
#head {
marrgin-top: 300px;
margin: 0px auto;
border: 2px dotted green;
width: 940px;
}
#middel {
margin: 0px auto;
margin-top: 0px;
border: 2px dotted yellow;
width: 940px;
}
#bottem {
margin: 0px auto;
margin-top: 0px;
border: 2px dotted red;
width: 940px;
}
#top {
width: 940px;
}
#content {
width: 700px;
text-align: left;
border: 2px solid #000;
}
#right {
margin: 0pt 0pt 1.1em;
float: right;
width: 240px;
text-align: center;
background-color: rgb(238, 238, 238);
}
#footer {
width: 940px;
border: solid #90C;
margin-top: auto;
}
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<jdoc:include type="head" />
<link href="templates/template/css/template.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="head">
<div id="top">
<jdoc:include type="modules" name="top" style="" />
</div>
</div>
<div id="middel">
<div id="content">
<jdoc:include type="component" style="xhtml"/>
</div>
<div id="right">
<jdoc:include type="modules" name="right" style="" />
</div>
</div>
<div id="bottem">
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml" />
</div>
</div>
</body>
</html>
Es geht um folgende Seite: http://mirko-kraft.bplaced.net/testseite/
Hoffe ihr könnt mir weiter helfen...
Lesezeichen