471,603 Members | 1,484 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

Footer on bottom of page


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. }
  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.
Oct 14 '07 #1
2 1974
5,821 Expert 4TB
Heya, heban. Welcome to TSDN!

Please use CODE tags when posting source code:

CSS code goes here.

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.
Oct 14 '07 #2
7,435 Expert 4TB
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.
Oct 14 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Tristan Miller | last post: by
reply views Thread by bobmct | last post: by
17 posts views Thread by Cerebral Believer | last post: by
11 posts views Thread by Michael7 | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.