Ik heb via verschillende voorbeelden van footers code geprobeerd etc. Nu heb ik een code die perfect in firefox werkt. Alleen in internet explorer krijg ik de footer gewoon helemaal niet te zien. Wat doe ik fout ?:
<style type="text/css">
<!--
html, body {
height:100%;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
background: url(img/body/bg_body3.gif) center top repeat-y;
margin-top: 0px;
margin: 0;
padding: 0;
}
.container {
position: relative;
width: 750px;
padding: 0px;
margin: 0px auto;
min-height:100%;
height: 100%;
height: auto;
}
.float1 {
background-image:url(img/body/header.jpg);
text-align: center;
width: 750px;
margin: 0px;
padding: 0px;
float: left;
height:150px;
}
.float2 {
background-image:url(img/menu/menu_back.gif);
text-align: center;
width: 750px;
margin: 0px;
padding: 0px;
float: left;
height:25px;
}
.float3 {
text-align: center;
width: 750px;
margin: 0px;
padding: 0px;
float: left;
}
.footer {
position: absolute;
bottom: 0;
padding: 0px;
background-color: #0066b2;
width: 750px;
}
-->
</style></head>
<body>
<div class="container">
<div class="float1"></div>
<div class="float2"></div>
<div class="float3"></div>
<div class="footer">test</div>
</div>
457 views