HighDots Forums  

How do I get my footer positioned at the bottom of the content?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How do I get my footer positioned at the bottom of the content? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Big Moxy
 
Posts: n/a

Default How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 08:31 AM






site - http://projects.zanalysts.com/hearin...0/default.aspx
css - http://projects.zanalysts.com/hearin...css/styles.css
js - http://projects.zanalysts.com/hearin...erPositionA.js
and setFooterPositionR.js
javascript - http://www.alistapart.com/articles/footers (example 5 and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim

Reply With Quote
  #2  
Old   
Big Moxy
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 08:54 AM






On Nov 16, 6:31 am, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:
Quote:
site -http://projects.zanalysts.com/hearingaids1000/default.aspx
css -http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositi...
and setFooterPositionR.js
javascript -http://www.alistapart.com/articles/footers(example 5 and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim
The CSS file should be - http://projects.zanalysts.com/hearin...ss/hearing.css


Reply With Quote
  #3  
Old   
Kevin Scholl
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 09:25 AM



On Nov 16, 9:31 am, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:
Quote:
site -http://projects.zanalysts.com/hearingaids1000/default.aspx
css -http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositi...
and setFooterPositionR.js
javascript -http://www.alistapart.com/articles/footers(example 5 and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim
What you are seeking can be accomplished quite readily with CSS only.
Do a Google search for "sticky footer". The first few results
(particularly that from themaninblue.com should provide you with all
you need.


Reply With Quote
  #4  
Old   
Big Moxy
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 11:18 AM



On Nov 16, 7:25 am, Kevin Scholl <ksch... (AT) comcast (DOT) net> wrote:
Quote:
On Nov 16, 9:31 am, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:





site -http://projects.zanalysts.com/hearingaids1000/default.aspx
css -http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositi...
and setFooterPositionR.js
javascript -http://www.alistapart.com/articles/footers(example5 and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim

What you are seeking can be accomplished quite readily with CSS only.
Do a Google search for "sticky footer". The first few results
(particularly that from themaninblue.com should provide you with all
you need.- Hide quoted text -

- Show quoted text -
Thanks for the reference Kevin! After implementing themaninblue.com
solution the footer moved from the top of the page to approximately
the middle. Several of the other top Google results referenced
http://ryanfait.com/sticky-footer/ however that didn't work at all as
my footer is positioned at the top again.

Help!
tim


Reply With Quote
  #5  
Old   
Bergamot
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 12:49 PM



Big Moxy wrote:
404 not found

--
Berg


Reply With Quote
  #6  
Old   
Kevin Scholl
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 12:49 PM



On Nov 16, 12:18 pm, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:
Quote:
On Nov 16, 7:25 am, Kevin Scholl <ksch... (AT) comcast (DOT) net> wrote:



On Nov 16, 9:31 am, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:

site -http://projects.zanalysts.com/hearingaids1000/default.aspx
css -http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositi...
and setFooterPositionR.js
javascript -http://www.alistapart.com/articles/footers(example5and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim

What you are seeking can be accomplished quite readily with CSS only.
Do a Google search for "sticky footer". The first few results
(particularly that from themaninblue.com should provide you with all
you need.- Hide quoted text -

- Show quoted text -

Thanks for the reference Kevin! After implementing themaninblue.com
solution the footer moved from the top of the page to approximately
the middle. Several of the other top Google results referencedhttp://ryanfait.com/sticky-footer/however that didn't work at all as
my footer is positioned at the top again.

Help!
tim
That would suggest to me that you have some CSS somewhere that is
conflicting with the sticky footer CSS declarations (or maybe some
orphaned Javascript?). This method is rather precise, so it wouldn't
take much to mess it up.


Reply With Quote
  #7  
Old   
Big Moxy
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 02:43 PM



On Nov 16, 10:49 am, Kevin Scholl <ksch... (AT) comcast (DOT) net> wrote:
Quote:
On Nov 16, 12:18 pm, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:





On Nov 16, 7:25 am, Kevin Scholl <ksch... (AT) comcast (DOT) net> wrote:

On Nov 16, 9:31 am, Big Moxy <bigm... (AT) gmail (DOT) com> wrote:

site -http://projects.zanalysts.com/hearingaids1000/default.aspx
css -http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositi...
and setFooterPositionR.js
javascript -http://www.alistapart.com/articles/footers(example5and
6)

I am in desparate need of a solution for a page footer. From googling
it seems that using javascript is the best approach so I tried the
above scripts from alistapart.com. My css contains a content id and a
footer id to match the script requirements. Currently the footer id is
set to use absolute positioning and the 'A' suffixed javascript. When
I use relative positioning the footer is at the top of the page in the
foreground. When I use absolute positioning the footer is at the top
of the page in the background. You can see the black bar hanging out
on the right side of the logo area.

I have attempted footer positioning without the javascript too but get
the same results.

Your help is truly appreciated!!
Tim

What you are seeking can be accomplished quite readily with CSS only.
Do a Google search for "sticky footer". The first few results
(particularly that from themaninblue.com should provide you with all
you need.- Hide quoted text -

- Show quoted text -

Thanks for the reference Kevin! After implementing themaninblue.com
solution the footer moved from the top of the page to approximately
the middle. Several of the other top Google results referencedhttp://ryanfait.com/sticky-footer/howeverthat didn't work at all as
my footer is positioned at the top again.

Help!
tim

That would suggest to me that you have some CSS somewhere that is
conflicting with the sticky footer CSS declarations (or maybe some
orphaned Javascript?). This method is rather precise, so it wouldn't
take much to mess it up.- Hide quoted text -

- Show quoted text -
New url, sorry it no longer needed to be .net -
http://projects.zanalysts.com/hearin...000/index.html

It's probably the css declarations as the only javascript was what I
introduced from alistapart.com

I don't know where to begin but I'll have to figure something out.

Thanks,
Tim


Reply With Quote
  #8  
Old   
Bergamot
 
Posts: n/a

Default Re: How do I get my footer positioned at the bottom of the content? - 11-16-2007 , 03:27 PM



Big Moxy wrote:
Quote:
I have attempted footer positioning

http://projects.zanalysts.com/hearin...000/index.html
Ah, the evils of absolute positioning. You don't really understand how
it is *supposed* to work, hence the "misplaced" footer.
http://brainjar.com/css/positioning/

To fix it, start by dropping all the absolute positioning. Get rid of
the explicit px heights on text elements, too. If you can't see why,
load the page in Firefox and zoom text up a few notches, then see what
happens (to the navigation menu in particular). It's not pretty, nor
readable.

You should drop the puny font-sizes while you're at it.
http://k75s.home.att.net/fontsize.html

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.