Results 1 to 2 of 2

Thread: Centering the PHP Photo Album

  1. #1
    Join Date
    Feb 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Centering the PHP Photo Album

    script: PHP Photo Album http://www.dynamicdrive.com/dynamici...photoalbum.htm

    -------------------------------------

    The problem I'm having with this script isnt really a problem. I can't figure out how to justify the picture array to the center. I thought it would be easy, just changing

    .slideshow{
    float: left;

    to float: center or middle but this throws off the rest of the coding apparently and puts all the pictures in a verticle line instead of the grid i defined.

    Normal <center> in the HTML doesnt work.. P aligns dont work.. div aligns dont work. I could be doing them wrong or missing it completely, but any help would be great. Thanks.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I think this may be one of the cases where you need to use a three-column table, and put it in the middle column.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •