The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Floating footer in the middle of the page?
Newbieme
post Oct 24 2011, 11:32 AM
Post #1





Group: Members
Posts: 2
Joined: 24-October 11
Member No.: 15,704



Hi!
I am new to the forum. I need some help. I am a newbie to all things HTML/CSS. I have been trying for days to fix this problem...I am not sure why the footer keeps floating in the middle of the page. Please help! Any help is welcomed!

http://rsanyc.net/new_website/calendar.html

Thanks!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Oct 25 2011, 01:58 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,145
Joined: 31-August 06
Member No.: 43



Do you mean the blue strip, which looks as though it is meant to be at the bottom, but appears in the middle of November (or similar)??

First, don't use the word "float", because no-one here except possibly me understands it. Because it's a css keyword, with a specific unobvious meaning.

Second, you have assigned the CSS value "position: relative" to this footer. Why? What do you understand "relative" to mean? Like most CSS keywords, this does not mean what an educated speaker of English would expect it to mean.

Probably you should just remove all trace of CSS "position" settings, and let the blue strip appear naturally at the bottom of the page (assuming it's at the end of the source html file).


--------------------
Brian Chandler
Nothing in this post constitutes "commercial solicitation". PayPal does not solicit residents of Japan. Contents may settle in transit. "Legal mind" may or may not be brain-damaged.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Oct 25 2011, 02:37 AM
Post #3


Programming Fanatic
********

Group: Members
Posts: 3,547
Joined: 23-August 06
From: Europe
Member No.: 9



Go see http://www.cssstickyfooter.com/ .

BTW, your page returns javascript errors and some, related, 404 File not found. Also, pass your page through the validator (link at top and bottom of this page).


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 25 2011, 04:05 AM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 13,731
Joined: 9-August 06
Member No.: 6



Threads merged.


--------------------
“Never go to excess, but let moderation be your guide.”
– Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th May 2013 - 01:36 PM