This is a discussion on "Getting into a mess!" within the Web Page Design section. This forum, and the thread "Getting into a mess! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Getting into a mess!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Getting into a mess!
I've started a new layout but there are slight anomalies in FF. I would appreciate any advice on how to rectify these problems. Thank you.
- bottom footer div moves just under the top header. - pushing the form down the page.
Last edited by csa; Feb 24th, 2006 at 11:47. |
|
#2
|
||||
|
||||
|
Re: Getting into a mess!
add 'clear:both;' to bottomlinks css, and float your form left.
Updated CSS:-
__________________
Rob - Webforumz Founder I am currently NOT available for SEO consultancy work My Sites: Student Midwife Forum
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
Re: Getting into a mess!
Thank you. I'm going to go and search google to find out what clear float does and how I can detect when to use it in future.
|
|
#4
|
||||
|
||||
|
Re: Getting into a mess!
You use it anytime you have a element floated and you desire another element to appear below it, instead of next to it.
This is because when you float an element (<div id="sidebar">content</div>), everything that comes below it in the html will appear beside it. Sometimes, this is not what you want. You might prefer all elements below the above div to appear below it. On the first element to appear below the floated element, you give it a 'clear' property in CSS. Whether it's 'left' 'right' 'both' depends on which way you floated the above element. This was probably confusing... I tend to ramble. |
![]() |
| Tags |
| getting, mess |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ie6 utter mess&ie7 mess. safari&opera&firefox alright | thosecars82 | Web Page Design | 2 | May 21st, 2008 12:02 |
| OK in IE6 - a mess in the rest... | N7AS | Web Page Design | 13 | Dec 27th, 2006 16:40 |
| css mess! | onlinegamesplayer | Web Page Design | 9 | Jun 8th, 2006 16:37 |
| My mess. Your problem. Sorry! | timmytots | Web Page Design | 2 | Nov 26th, 2005 23:53 |