Forum Moderators: not2easy

Message Too Old, No Replies

Background strangeness in FF

Position bottom on body not staying at bottom

         

zackattack

7:40 pm on Apr 2, 2006 (gmt 0)

10+ Year Member



Hi am re-designing a website with CSS layout on a 2000 page shopping site. Have problem with a footer image that is applied to the body through the stylesheet.

On some pages in FF where the content is shorter than the absolutely positioned left and right menus, this footer image rides up the page. It is nothing more than a background image applied to the body - any ideas as to why this is happening.. my brain has gone blank on this... but I am sure this shouldn't be happening

DOCTYPE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"

CSS:

body {
color: #666;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
text-align: center;
font-size: small; /* default font size */
background: url(../images-design/footer-bg1.gif) repeat-x left bottom;
}

ZA

DrDoc

7:52 pm on Apr 2, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Add
min-height: 100%
to the body

zackattack

8:17 pm on Apr 2, 2006 (gmt 0)

10+ Year Member



Hi Doc

Ok tried this but it makes no difference.
I have used this many times before without any issue at all... why now ...why me :-(

ZA