This is a discussion on "[SOLVED] footer positioning" within the Web Page Design section. This forum, and the thread "[SOLVED] footer positioning are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] footer positioning
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] footer positioning
morning/evening people!
can someone have a look at this page..... http://www.design365.co.uk/sef/test.htm im having problems positioning the footer, i need it to go all along the very bottom of the page like the banner does at the top EDIT: its working in IE but not FF Last edited by danny322; Nov 12th, 2007 at 09:53. |
|
|
|
|||
|
Re: footer positioning
Try this:
|
|
|||
|
Re: footer positioning
haha cheers mike!
|
|
|||
|
Re: footer positioning
It's all about floats.
In your CSS, whenever you write "float: left" or "float: right", you fundamentally change the layout properties of that element. Read about floats here. Non-floated items may appear above floats, despite being "beneath" them in the source code. "clear: both" fixes this, by explicitly commanding the item to position itself beneath any floats that come before it in the source. This is like drawing a line under your floats. "clear: left" is the same, but only takes notice of left-floated boxes. Similarly, "clear: right". Most of the time you just want "clear: both". Sometimes you want to clear floats, but you lack an appropriate element to "hook" the clearing onto; in this case, just use an empty <div class="clear"></div> (and apply the CSS "clear: both" to this class). Note that you cannot use "float: left" (or right) together with "position: relative" (or absolute, or static, or fixed). Floating is a fundamentally different layout method from positioning; it's impossible to create a positioned float. If you do specify both, I believe the positioning takes precedence. Last edited by MikeHopley; Nov 12th, 2007 at 10:35. |
![]() |
| 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 |
| [SOLVED] Footer help | nashultz07 | Web Page Design | 7 | Nov 27th, 2007 01:01 |
| [SOLVED] misbehaving footer | mykl | Web Page Design | 15 | Oct 15th, 2007 19:20 |
| Cleaning up footer and positioning | genista | Web Page Design | 10 | Aug 14th, 2007 14:28 |
| Positioning a footer at the bottom of the screen | apod | Web Page Design | 1 | Oct 8th, 2006 10:04 |