Hi,
bin totaler Anfänger und würde gerne meinen Kopf sowie Fussbereich feststehend machen. Den Fussbereich habe ich hinbekommen, jedoch mit dem Kopfbereich möchte dies nicht so funktionieren.
Vielleicht hat jemand von Euch eine Idee und würde sie mir verraten
Mein Code bis jetzt:
CSS:
PHP-Code:
body {
padding: 0px;
margin: 0px;
background-color: #FFFFFF;
}
#kopf {
height: 80px;
width: 100%;
margin: 0px;
background-color: #000000;
}
#schriftzug {
padding-top: 3px;
padding-left: 25%;
border: none;
margin: 0;
}
#fuss {
position: fixed;
bottom: 0px;
height: 80px;
width: 100%;
margin: 0px;
background-color: #ff0;
}
#content_container {
padding-bottom:3em;
}
#mitte {
position: relative;
width: 100%;
}
#inhalt {
margin: 0px 50px;
background-color: #ffffc6;
}
#links {
position: absolute;
top: 0px;
left: 0px;
width: 80px;
height: 100%;
background-color: #fc0;
}
#rechts {
position: absolute;
top: 0px;
right: 0px;
width: 80px;
height: 100%;
background-color: #fc0;
}
Index.php:
<body>
<div id="kopf">
<div id="schriftzug"><? include ("kopf_logo.php");?> </div>
</div>
<div id="mitte">
<div id="inhalt">
<div id="links">...</div>
<div id="rechts">...</div>
</div>
<div id="fuss"></div>
Vielen Dank im Voraus.
Liebe Grüsse
Silke