Forum Moderators: not2easy

Message Too Old, No Replies

Padding at Bottom of Page

Firefox not displaying padding at bottom of the page.

         

zanthalon

6:12 pm on Aug 10, 2006 (gmt 0)

10+ Year Member



I am having trouble getting Firefox to display padding at the bottom of my container div. The idea is that there should be some space at the bottom of the page between the bottom of the container div and the bottom of the page. I have achieved this in the past with:

html { position: absolute; }

Unfortunately, however, this causes the vertical scrollbar to vanish in Safari. Usually, I do not worry much about Safari, but some of the primary viewers of the site in question are Safari users so the site *must* work in Safari.

I have tried all sorts of combinations of position and display to no avail.

Any ideas?

tiepolo

6:28 pm on Aug 10, 2006 (gmt 0)

10+ Year Member



Have you tried margin-bottom: 10px; for your container div? Do you have the URL of the page in question?

zanthalon

6:34 pm on Aug 10, 2006 (gmt 0)

10+ Year Member



Yes, that is the obvious solution, but it does not work.

The page is not publicly accessible, so I cannot give you the URL.

4css

6:35 pm on Aug 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please, no posting of url's as per the TOS for the forum.

One thing first check your validation on both css and (x)html.

Then post a bit of your code for us to check out for you

Ingolemo

10:40 am on Aug 11, 2006 (gmt 0)

10+ Year Member



What about padding-bottom:10px; on the html element?