Unten platzierter Footer

Der Footer befindet sich am unteren Rand des Wrappers, auch im IE 6

Verwendete CSS-Angaben:

* {
margin: 0;
padding: 0;
}

html, body {
height: 100%;
font-size: 100%;
font-family: Verdana;
}

p {
padding: 10px;
}

h1 {
text-align: center;
background: #009;
color: #fff;
padding: 10px 0;
height: 2em;
font-size: 1.5em;
}

h4 {
padding: 10px;
}

#wrapper {
position: relative;
min-height: 100%;
background: #A9A9A9;
width: 900px;
margin: 0 auto;
border: 1px solid #009;
}

* html #wrapper {
height: 100%;
}


#content {
padding: 1em 1em 2.5em 1em;
}

#footer {
position: absolute;
bottom: 0;
width: 100%;
line-height: 1.5em;
text-align: center;
background: #8B8878;
}

zurück zur Anleitung
zur Startseite