PDA

View Full Version : position:fixed;



spindrift
April 28th, 2006, 01:55 PM
Hi guys,

Thanks for taking the time to read this...

I've been trying to get position:fixed; to work for IE. Obviously, it works in Firefox.

I've searched and found loads of tutorials on this but when I preview them, they never work - and I've tried 6 or 7!

The div is called "footer" and my stylesheet has this code:


#footer {
left: 0;
bottom: 0;
position: absolute;
margin: 0px;
padding: 0px;
width: 772px;
height: 20px;
line-height: 16pt;
text-align: right;
background-color: #D1D1D1;
}
body > div#footer {
position: fixed;
}
My site is at www.spindriftmedia.com/2006/main.php (http://www.spindriftmedia.com/2006/main.php) If anyone can help me on this, I'd really appreciate it.

Thank you very much and I hope to hear from you.

Take care,

Mark

CriTiCeRz
April 28th, 2006, 04:40 PM
Weird... I tested this on IE an FF and everything works fine to me...