This is a discussion on "CSS stretch footer vertically?" within the Web Page Design section. This forum, and the thread "CSS stretch footer vertically? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS stretch footer vertically?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi, can anyone please help.
On this website : http://www.nscleaning.co.uk I need the red footer to stretch to fill the rest of the screen no matter the users resolution so that there's no white gap at the bottom I've thought of doing the height in % but if it's running on a huge monitor then I'd have to set the % to really high. I've currently got the shadow effect as the background image on the body so can't put it there, any suggestions please? Thanks |
|
|
|
||||
|
Re: CSS stretch footer vertically?
set a red background background:url("foo.jpg") top center repeat-y; i.e. make yourcurrent background red then the content area white. then of course set your container background to whatever and that will stretch the enitre page regardless of content height.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: CSS stretch footer vertically?
Thanks alot mate, had to do a bit of twiddling around to get it working in Firefox, but using Overflow:auto worked
Thanks again |
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] How to get my footer to stretch | Gav | Web Page Design | 3 | Dec 16th, 2007 14:15 |
| Div stretch to bottom in IE6 | Aso | Web Page Design | 16 | Nov 27th, 2007 12:49 |
| [SOLVED] wont stretch | lostyboy | Web Page Design | 2 | Oct 18th, 2007 14:25 |
| stretch div with no content | nate2099 | Web Page Design | 4 | Jul 13th, 2007 13:36 |
| Site Stretch with Content? | CodyFunderburg | Web Page Design | 4 | Nov 20th, 2006 14:58 |