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,460
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).
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: 5,146
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).
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


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Threads merged.
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: 26th April 2024 - 04:54 AM