Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    6
    Member #
    17688
    Hi,

    Got a problem... and looking for help! I have the following site I'm trying to design:

    http://www.stuartjackson.co.uk/tiger-who/gallery/01.htm

    I would like the footer at the bottom of the page to be at the bottom of the screen, like the ground basically.

    I've tried this in two different ways... I've set the table to 100% height but never worked. Then I set a CSS div to set the table at the bottom to be absolute bottom. This worked... however...

    when the page content was greater than the height of the screen the footer remained at the bottom of the screen and this resulted on the content of the footer running over the content of the page!?

    I'm not the most clued up on CSS and webdesign etc so would really appreciate any help! The footer is a table with a black cell and then 2 images on top one aligned to the right and one to the left... so either side of the browser screen no matter your screen width?

    Thanks
    Stuart

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    Did you look for some "sticky footer" things on google?
    Like these:
    http://ryanfait.com/resources/footer...ottom-of-page/
    http://www.cssstickyfooter.com/

    Not sure what you've already tried.

    And if you used PHP, you would not need a different .html page for each photo.
    You would have ONE page that displays the <prev><next> photo for ANY photo.
    That means you would simply upload the photos into a directory and add a line
    to a simple text file (list of photos).


  4. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    6
    Member #
    17688
    Hi,

    I've managed to get the footer working with the second link you posted. As far as using php, I had it working with PHP but I was having problems with it knowing it was at the end of the images? I only have 10 images so I wasn't too fussed about the slower process. Also whenever I tried that way with php I couldn't figure out how to group images by say 30 to a page etc then know when to create the next page etc...

    Thanks for your help, it's appreciated.

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    If you use a database to keep the list of images, it does a few things for you.
    1) The list(s) can be sorted.
    2) The list(s) can be searched.
    3) In any query, you can group them ... and work that into a page system.
    4) Easier to manage the photos.

    There's a lot of pre-made scripts available that end-up doing more than
    you need, which makes them complicated and hard to use. But by making
    your own, you only get the features you need. But you need to know how
    to program with PHP and MySQL ... so that's the other side of the coin.

    Ends up being so many different ways to do it ... and that's what makes
    using PHP so nice to work with - it's flexible.


  6. #5
    Member suz4x4's Avatar
    Join Date
    Mar 2007
    Location
    Long Island, NY
    Posts
    78
    Member #
    14978
    I have the same problem with my footer after I have attempted to center the page, now on pages with a min amount of content the footer has a gap at the bottom. I have read the sticky footer css, but I have to admit I really don't get how to apply it to my own site. I did try that and a few other things I read and could not get it to work. Any suggestions? or should I post elsewhere?
    http://www.cohmlaw.com/indexcentered.com seems to work and this page it doesn't
    http://www.cohmlaw.com/profiles/hs_consultant_ec.html
    Thanks!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:44 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com