Hallo iedereen,
Ik heb geprobeerd om een footer te maken voor mijn website, zo eentje die netjes onderaan de pagina blijft staan :p
Ik heb nu dit:
footer.css
PHP
*
{
margin: 0;
}
html, body
{
height: 100%;
}
#contentwrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -200px;
}
#footer, .push
{
height: 200px;
clear: both;
}
Toon Meer
footer.php
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="footer.css" />
</head>
<body>
<div id="contentwrapper">
<p></p>
<div class="push"></div>
</div>
<div id="footer">
<p>Alle Rechten Voorbehouden, © MaffiaOutlawz 2010</p>
</div>
</body>
</html>
Toon Meer
Maar hij blijft helemaal niet onderaan de pagina. Bv bij een misdaad.
Hoe kan ik ervoor zorgen dat die footer blijft waar hij hoort?
Groetjes Oceans
Joshua; topic in juiste categorie gezet.