This is a discussion on "[SOLVED] How to get my footer to stretch" within the Web Page Design section. This forum, and the thread "[SOLVED] How to get my footer to stretch are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] How to get my footer to stretch
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] How to get my footer to stretch
Hi Guys n Girls
Iam currently building my portfolio for online and i have come to my footer. My footer has a background color of a beige and i want it to stretch the whole width of the browser whatever size browser the person visiting my site is using. I thought this was width: 100% but it doesn't seem to work. The footer is in the body tag which has a set width of 850px, as i want to website to be 850px wide, and the footer but i want the background color of the footer to expand across the size of the browser whether it be 1450px wide or 1024px wide. How can i do this? Many thanks Gav Last edited by karinne; Dec 17th, 2007 at 14:28. Reason: Removed text formatting |
|
|
|
#2
|
||||
|
||||
|
Re: How to get my footer to stretch
Well, firstly i don't reccommend that you make the body 850px wide. I suggest that you create an id or class called 'Wrapper' or 'Container' and make that 850px wide otherwise, the footer will only stretch the 100% of the body which is 850px wide.
Once you've done that, don't put the footer in the wrapper/container, just on its own with the 100% width. It's pretty hard without any code. Hope that helps!
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#3
|
|||
|
|||
|
Re: How to get my footer to stretch
It has, and thats fixed it
Thanks Marc - huge help !!!! |
|
#4
|
||||
|
||||
|
Re: How to get my footer to stretch
Well.. That was easy!
Thread marked as solved
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Footer help | nashultz07 | Web Page Design | 7 | Nov 27th, 2007 01:01 |
| [SOLVED] footer positioning | danny322 | Web Page Design | 3 | Nov 12th, 2007 10:30 |
| [SOLVED] wont stretch | lostyboy | Web Page Design | 2 | Oct 18th, 2007 14:25 |
| [SOLVED] misbehaving footer | mykl | Web Page Design | 15 | Oct 15th, 2007 19:20 |
| CSS stretch footer vertically? | uqwebdesign | Web Page Design | 2 | Oct 24th, 2006 20:09 |