Connecting Tech Pros Worldwide Forums | Help | Site Map

Footer on bottom of page

Newbie
 
Join Date: Oct 2007
Posts: 1
#1: Oct 14 '07
Hi,

I'm having trouble getting the footer to the bottom of the page with my CSS code. It works in IE, but not in Firefox.

Here is my css:
Expand|Select|Wrap|Line Numbers
  1. .pagecontainer{
  2.       position:relative;
  3.       width:100%;
  4.       margin: 10px auto;
  5.       min-height: 100%;
  6.       height: 100%;
  7.     voice-family: "\"}\"";
  8.     voice-family: inherit;
  9.     height: auto;
  10. }
  11.  
  12.  
  13.  
  14. #footer
  15. { position: absolute;
  16. bottom: 0;
  17. text-align: center;
  18. width:100%;
  19. height:auto;
  20. font-family: arial,serif; font-size: 100%;font-style:italic;text-align: center;
  21. color:rgb(248,254,194);line-height: 175%;background-color:rgb(0,153,0);
  22. border-width: 11px;
  23.  }

Thanks for any ideas.

pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: Oct 14 '07

re: Footer on bottom of page


Heya, heban. Welcome to TSDN!

Please use CODE tags when posting source code:

[CODE=css]
CSS code goes here.
[/CODE]

I'm going to go ahead and move this thread to the HTML/CSS forum, where our resident Experts will be better able to help you out.
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,580
#3: Oct 14 '07

re: Footer on bottom of page


Quote:
It works in IE, but not in Firefox.
No. IE is doing what you want but it's not working right. Without the html, any help we can give would be just guessing.

Never, ever use IE as a reference to what is working. It is nine years behind web standards and buggy. Always, always use a modern browser like Firefox, Opera or Safari.
Reply