Results 1 to 2 of 2

Thread: Center Image

  1. #1
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Center Image

    1) Script Title: Ultimate Fade-In Slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: I have images of different sizes. I would like to center the image in the given width and height of the fade show. However, the image is going to the top left corner of the space specified. How can I center each image given it's different size? My development page is http://65.109.28.235/newindex.htm

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Use:

    http://www.dynamicdrive.com/dynamici...army/index.htm

    If you set its width to the largest width image and set its height to the tallest height image, it will center differently sized images. It can also be configured to not use any controls or text, thus making it look just like the other slide show, and it can fade too.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •