TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   XHTML, HTML, CSS (http://www.talkphp.com/xhtml-html-css/)
-   -   footer auto adjustment (http://www.talkphp.com/xhtml-html-css/4203-footer-auto-adjustment.html)

9three 04-30-2009 01:32 AM

footer auto adjustment
 
Hey,

I currently have a wrapper

Code:

#wrapper
{
  position: relative;
  margin: 0 auto;
  padding: 0px;
  width: 870px;
  height: 0px;
}

The problem is that my footer has an image that needs to repeat across the entire browser. So if I put the footer in the wrapper it only repeats within the wrapper.

So what I did was move the footer outside the wrapper and in FF it looks fine, but in IE it's broken. It shows the footer all the way at the top

Code:

#footer
{
  width: 100%;
  height: 100px;
  float: left;
  margin: 25px 0px 0px 0px;
  padding: 0px;
  color: #FFFFFF;
  text-align: center;
  background: #cecece url(../images/content_footerBG.jpg) repeat-x;
}

How can I stack the footer under the wrapper?

9three 04-30-2009 03:55 AM

I fixed it. I removed the height from the wrapper and it worked perfect.


All times are GMT. The time now is 04:46 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0