Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
footer problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Paulos23  
View profile   Translate to Translated (View Original)
 More options 4 Nov, 23:15
From: Paulos23 <paulitosthe...@gmail.com>
Date: Wed, 4 Nov 2009 15:15:24 -0800 (PST)
Local: Wed 4 Nov 2009 23:15
Subject: footer problem
Hi people,
I have a major problem with any footer at my layouts with Firefox and
IE.I want to stick it in bottom of page but this can't be done.for
example if i put it in position:absolute all work fine for a 100%
height.The problem rises in my dynamic layouts where data increase and
footer position is in middle of page.I have read many articles about
this problem and try them bit none really helped me.My layouts have
the below structure:

<div id="container">
       <div id="header">
              ..........
       </div>
       <div id="content">
               ..........
       </div>
</div>
<div id="footer">
........
</div>

and my css:

* {
        margin:0;
        padding:0;

}

html
{ height: 100%;

}

#container{
        min-height: 100%;
        height: auto;
        height: 100%;
        clear:both;
        padding-bottom: 40px;
        position:relative;
        margin:0 auto;

}

#footer { width:100%;
        position: absolute;
        bottom:0;
        background-color:#0099FF;
        clear:both;
        height:40px;
        margin-top:-40px;

}

#header { width:100%;
        position: absolute;
        top:100px;
        background-color:#0099FF;
        height:40px;

}

body {height: 100%;
          background: url('../img/loggo.png');
          background-repeat: no-repeat;
          background-color:#B4B4CD;
          font-family:"Times New Roman", Times, serif;
          font-size:12px;
          font-style:normal;

}

Any help would be so kind!
Many thanks in advance,
Paulos

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Andersen  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 06:24
From: John Andersen <j.andersen...@gmail.com>
Date: Wed, 4 Nov 2009 22:24:34 -0800 (PST)
Local: Thurs 5 Nov 2009 06:24
Subject: Re: footer problem
In your footers CSS, add:

 bottom:0px;

so that the footers absolute position is calculated from the bottom of
the browsers window.

If you don't want it to be there always, just add a minimum height to
your container block before the footer.
Enjoy,
   John

On Nov 5, 1:15 am, Paulos23 <paulitosthe...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Andersen  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 07:20
From: John Andersen <j.andersen...@gmail.com>
Date: Wed, 4 Nov 2009 23:20:21 -0800 (PST)
Local: Thurs 5 Nov 2009 07:20
Subject: Re: footer problem
DISREGARD! Just amazing how ones eyesight fails with the morning
light :D

All my suggestions are in place, except that minimum height should not
be a percentage!

Only other option is to make the footer float at the bottom, using z-
level:9;

Enjoy,
   John

On Nov 5, 8:24 am, John Andersen <j.andersen...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paulos nikolo  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 12:19
From: paulos nikolo <paulitosthe...@gmail.com>
Date: Thu, 5 Nov 2009 14:19:29 +0200
Local: Thurs 5 Nov 2009 12:19
Subject: Re: footer problem

John thank you for your quick reply.I just replace min-height:100% with
980px and some pages work fine for long text but those in short the footer
sticks in bottom and you have to scroll page to see it.This problem is
making me really angry.Another thing i 'd like to say is that in my home
page i see all divs appear twice.So footer has double size etc and i think
this has to do with default layout.I need to change the code inside to make
data apper once and correctly.

2009/11/5 John Andersen <j.andersen...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google