View Full Version : css opera footer problem - please help
fadetoblack
12 Jun 2007, 03:31 PM
If you look at my site in IE you will see a red footer. However this just suddenly disappeared in opera. I have tried everything to get it back but nothing seems to work. I don't know what I changed to make it disappear.
can anyone help?
http://waynerooneyonline.com//new/index.php
http://waynerooneyonline.com//new/style5.css
thanks
Wickham
13 Jun 2007, 01:59 AM
Your #footer style in the css file has
#footer {
position: absolute;
bottom:0;
height:22px;
background-color: #CC0000;
width:100%;
color: white;
}
bottom: 0; is often unreliable and may be affecting Opera.
position: absolute; bottom: 0; will not make the footer stick to the screen bottom while you scroll the rest of the page, for that you would need position: fixed; bottom: 0; which works in Firefox and IE7 but doesn't work in IE6.
Try deleting position: absolute; bottom: 0; as it doesn't seem to do anything. Without this code the footer should just follow the previous divs and scroll, just like it does now and may work better in Opera (I haven't got Opera so I can't check).
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.