Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-21-2005, 09:35 PM   PM User | #1
steviepcontrol
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
steviepcontrol is an unknown quantity at this point
Help: CSS and Javascript to Position Footer

I'm using the code given in this article http://www.alistapart.com/d/footers/ Using javascript and css to position my footer. (More specifically example 4 http://www.alistapart.com/d/footers/footer_dom1.html)


Here is my page: http://stevenrios.com/formit/site/footertest.htm

All css is within the html doc. Before I had the footer div within the content div but i changed that and it is doing the same thing.

The problem is the footer won't position itself when the window loads, when I resize the window it does, yet goes too far beyond the browswer window. I could live with the resize issue, i just need it to do the same thing when the page loads.

It is doing the same thing in every browser I've tried: Windows IE, Windows Firefox, Mac IE, Safari and Mac Firefox.

Thanks in advance to anyone willing to help.

-Steven
steviepcontrol is offline   Reply With Quote
Old 03-21-2005, 09:59 PM   PM User | #2
mcdougals4all
Regular Coder

 
Join Date: Jul 2004
Location: mile high city
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
mcdougals4all is an unknown quantity at this point
The multiple onload events are likely conflicting.

To test, remove the body onload event handler and see if the footer script works correctly.

Have a read here for a workaround, http://www.griffininteractive.net/ar...ng/000019.html.
__________________
Computer, kill Flanders... Did I hear my name? My ears are burning...
Good start. Now finish the job.
mcdougals4all is offline   Reply With Quote
Old 03-21-2005, 10:10 PM   PM User | #3
steviepcontrol
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
steviepcontrol is an unknown quantity at this point
mcdougals4all. Thank you SO much.

I knew it had to be something that simple. Thanks for taking the time to look at my problem and thanks a billion for the fix. It works, it actually works!

-Steven
steviepcontrol is offline   Reply With Quote
Old 03-21-2005, 10:14 PM   PM User | #4
mcdougals4all
Regular Coder

 
Join Date: Jul 2004
Location: mile high city
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
mcdougals4all is an unknown quantity at this point
No problem. Glad I could help.
__________________
Computer, kill Flanders... Did I hear my name? My ears are burning...
Good start. Now finish the job.
mcdougals4all is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:36 AM.


Advertisement
Log in to turn off these ads.