Hallo Forenfreunde, ich bin am verzweifeln. Ich habe eine Webseite in Planung, die sich grafisch aus einem Kopfteil, einem Hintergrund und einem Fussteil. Ich habe die Grafik so gestaltet, dass die Ecken abgerundet sind. Leider wird unten die Hintergrundgrafik genau um ein Höhe über die Fussgrafik hinaus angezeigt. Beim Kopfteil macht er das seltsamerweise nicht.
CSS
Code
* {
margin: 0px;
padding: 0px;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
background-color: #cccccc;
}
#main-container {
width: 880px;
margin: 0px 0px 0px 100px;
background: url("images/hintergrund.png") 0px 0px repeat-y;
}
#top_section {
background-color:rgb(255,255,255);
height:90px;
margin:0px;
padding:0px;
}
#fusszeile {
clear:left;
margin-top:0px;
border-top: 1px dotted gray;
text-align:center;
padding:0px;
}
h1,h2,h3,p,ul,ol {
font-family:Verdana, Arial, Helvetica, sans-serif;
margin-left:30px;
margin-right:30px;
}
Alles anzeigen
html
HTML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<title>Groß Schulzendorf</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="Lee Roe" content="Adobe GoLive" />
<meta name="keywords" content="Groß Schulzendorf"/>
<link rel="stylesheet" type="text/css" media="screen" href="screen.css"/>
</head>
<body>
<div id="main-container">
<div id="top_section">
<img src="images/kopf.png" alt="Kopfzeile" />
</div>
<div id="inhalt-haupt">
<h2>Willkommen auf unserer Seite</h2>
<p>Lorem ipsum .......</p>
</div>
<div id="fuss">
<img src="images/fuss.png" alt="Fussgrafik" />
</div>
</div>
</body>
</html>
Alles anzeigen
Für Vorschläge wäre ich sehr dankbar.
yexxx