473,382 Members | 1,204 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Footer on bottom of page

1
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.
Oct 14 '07 #1
2 2149
pbmods
5,821 Expert 4TB
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.
Oct 14 '07 #2
drhowarddrfine
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

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

Similar topics

82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
6
by: Els | last post by:
Kris wrote: <quote> Liquid layout allows the footer to position itself at the end of the page, no matter how long or tall the page is. This is a Good Thing for various reasons that require a...
2
by: Tristan Miller | last post by:
Greetings. I have a two-column web layout, where the first column is just the regular body text with a "marign-right" of 16em, and the second column is an "absolute"-positioned div with a width...
5
by: Tyler Carver | last post by:
I've tried to get CSS to give me a basic layout where I can place a footer at the bottom of the page and the top of the page I can use for content. I don't however want the footer to pull away...
0
by: bobmct | last post by:
Gentlemen; I've created a class for a consistent footer ..footing { position: absolute; bottom: 0; font-size: x-small; text-align: ...
17
by: Cerebral Believer | last post by:
Hi all, I would like to know how to get two rows of text links to appear at the bottom of a page. Generally I have been using <div> tags with the id attribute and CSS to place blocks of text,...
13
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would...
1
by: john | last post by:
Hi to All, I am new to html authoring, so sorry if my terminology is not correct or exact. I would like to position a footer div to the bottom of the browser window. As I research in the web...
13
Death Slaught
by: Death Slaught | last post by:
I have my entire page in my "main" div. div.main { width: 100%; height: 100%; border: 1px solid gray; } on the left of the page I have a banner.
11
by: Michael7 | last post by:
Hi everyone, Me again, been a while since I've been here, but I'm back again needing help with a simple thing. I've searched for help on creating a footer, but all the help I've found, was...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.