i want the body_layout area to be 100% of the browser height and the footer to stay at the bottom but instead, I get this problem:
http://www.voigrafic.com/golfsite/
i want the body_layout area to be 100% of the browser height and the footer to stay at the bottom but instead, I get this problem:
http://www.voigrafic.com/golfsite/
Last edited by Anexxion; 07-27-2008 at 09:38 PM.
Code:#footer { background:#66CCFF none repeat scroll 0 0; bottom:0; height:60px; left:0; position:relative; width:100%; } .footer_image { bottom:0; height:60px; position:relative; text-align:center; width:433px; margin:0 auto; background:#66CCFF none repeat scroll 0 0; width:100%; float:left; padding-top:11px; } .footer_copyright { border:0 none; color:#000000; font-family:Tahoma; font-size:10px; text-align:center; }
That works on my end... Not sure if it's "politically correct", but it works.
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
Anexxion (07-28-2008)
just realized that I left a big blue bar up top...
Here's the fixed CSS:
and the HTML you should replace:Code:#footer { background:transparent none no-repeat scroll 0 0; bottom:0; height:60px; left:0; position:relative; width:100%; } .footer_image { bottom:0; height:auto; position:relative; text-align:center; width:433px; margin:0 auto; background:#66CCFF none repeat scroll 0 0; width:100%; float:left; padding:11px 0px 10px 0px; } .footer_copyright { border:0 none; color:#000000; font-family:Tahoma; font-size:10px; text-align:center; }
Basically you're just removing the DIV called "footer" and using the "footer image" div instead as there's no need for two divs to accomplish what you're trying to do.Code:<div id="right"> <p>RIGHT</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> <div class="footer_image"> </div> </div>
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
Anexxion (07-28-2008)
did that work for you?
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
not exactly what I meant but thanks, basically I want it like a reapeat-x image, whenever you minimize the browser -x wize, the images just gets smaller, same with this: here is an example:
http://www.xs4all.nl/~peterned/examples/csslayout1.html
see how no matter how large the browser is, it just adjusts?
I think I got it... maybe? LOL
Try adding this to the CSS in the link you posted above:
I tested that out with resizing the browser window and with enlarging the text and so on, it keeps the footer stuck at the very bottom.Code:#footer { background:#66CCFF none repeat scroll 0 0; bottom:0; height:60px; left:0; position:relative; width:100%;clear:both;}
Hope this finally helps...
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
Anexxion (07-28-2008)
okay listen, go to http://www.voigrafic.com/golfsite/
scroll down, see how the content stretches beyond the blue footer? how can I make the footer, stay with the content no matter the height OF the content.
EDIT: OHH nvm, thanks alot man!! you have REALLY helped me, if it wasn't for you I probably would not have gotten it, thanks alot man![]()
Whew! You had me starting to think that I was losing my mind... LOL
I thought for sure I'd fixed it that time, then you started saying it wasn't working!!! LOL
Anyway, I'm glad it worked out for you. Good luck!
Josh
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
Bookmarks