Footer not repeating properly
#1
Posted 02 December 2011 - 08:39 PM
I am tearing my hair out trying to figure out why my sticky footer does not go the full width of the browser window. It looks fine if you stretch the browser window, but there is a nasty horizontal scroll bar which I cannot seem to get rid of. What am I missing?
Here is the link http://bit.ly/teZxi6
180virtual
#2
Posted 02 December 2011 - 09:36 PM
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
#3
Posted 02 December 2011 - 11:19 PM
The #foot is outside the #wrap, so I don't understand why it is being limited by it? I don't mind about the scroll bar, but the footer cuts off.
This post has been edited by virtual: 02 December 2011 - 11:20 PM
180virtual
#4
Posted 03 December 2011 - 06:42 AM
I edited both #header and #wrap to 960px and it solved everything.
#5
Posted 03 December 2011 - 11:05 AM
This post has been edited by virtual: 03 December 2011 - 11:06 AM
180virtual
#6
Posted 03 December 2011 - 01:02 PM
#foot{
background: #c1b78e url(images/footer-bg.jpg) repeat-
x;
overflow: auto; width: 1400px;
position: relative;
margin-top: -150px;
height: 150px;
clear: both;
}
.foot{
width: 1400px; /*960px;*/
margin: 0 auto;
padding-top: 10px;
color: #FFF;
font-family: Arial, Helvetica, sans-serif;
}
There is a horizontal scrollbar in my 1366px resolution, but I don't get the footer stopping when you scroll right, it continues. Hope that helps.
#7
Posted 03 December 2011 - 02:16 PM
180virtual
#8
Posted 03 December 2011 - 03:00 PM
Instead of creating one big long header with background put that
header background image into the BODY. And leave header in wrapper and change width of header to 960px;
this may be helpfull post.
http://webdesignerwa...arge-background
and if you want to get rid of your horizontal scroll bar.
A Quick fix is to put..
overflow-x: hidden;
in HTML BODY tag.
But horizontal scrollbar will go when you change the 1400px widths.
Just trial and error.
#9
Posted 03 December 2011 - 03:39 PM
180virtual
#10
Posted 03 December 2011 - 04:04 PM
Thanks all so far, I'll be back again I'm sure.
180virtual

Help















