Ik heb momenteel een probleem met mijn div in IE 6.0
In 7.0 werkt hij wel vloeiend.
Heeft iemand een ide hoe ik die footer werkend kan krijgen?
De footer is het gele gedeelte.
Verder wordt hij qua hoogte ook niet 100%.
Als ik height op 100% zet dan gaat het in IE 7.0 weer niet goed, dan staat de footer altijd onderaan de pagina.
Maar als er een gigantische lap tekst in staat moet de footer wel onderaan staan ,en niet onderaan het beeldscherm (dus over de andere tekst heen).
Ik hoop dat iemand me hiermee verder kan helpen.. .
<!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" xml:lang="en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Fixed Sticky Header Footer</title>
<style type="text/css">
body,html{
height: 100%;
margin-top:0px;
margin-bottom:0px;
}
#container {
width: 990px;
min-height:100%;
position: relative;
margin: 0 auto;
background-color:#660000;
}
#header {
height: 100px;
background: blue;
}
#menu{
width:100%;
height:188px;
background-color:#000066;
}
#note{
width:100%;
height:70px;
background-color:#CC9900;
}
#extra{
width: 100px;
float: left;
background-color:#9900CC;
}
#content {
background: green;
overflow-y: auto;
overflow-x: hidden;
float:right;
margin-bottom:50px;
width: 790px;
}
#right{
width: 100px;
float: right;
background-color:#663300;
}
#footer {
position: absolute;
bottom: 0px;
width: 100%;
height: 50px;
background: yellow;
left: 0px;
}
</style>
</head>
<body>
<div id="container">
<div id="header">Header</div>
<div id="menu"></div>
<div id="note"></div>
<div id="extra"></div>
<div id="right"></div>
<div id="content">
<p>Voeg hier een lange tekst in om te zien dat er dan in deze sectie een verticale scrollbalk ontstaat. </p>
<p>Behalve in IE6 - daar rekt de sectie uit, achter de footer langs.</p>
<p>asd</p>
<p>sdf</p>
<p>asdf</p>
<p>sdf</p>
<p>ads</p>
<p>f </p>
<p>s</p>
<p>da\fs</p>
<p>f</p>
<p>asdf</p>
<p>asdf</p>
<p>sa</p>
<p>f</p>
<p> </p>
<p>fsdadskllaatste rege </p>
</div>
<div id="footer">Footer</div>
</div>
</body>
</html>
1.248 views