Results 1 to 3 of 3

Thread: Ultimate Fade-in slideshow (v2.1) - Image centering within the slide show

  1. #1
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v2.1) - Image centering within the slide show

    Ultimate Fade-in slideshow (v2.1)
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    Apologies for posting twice but just noticed the other thread was marked as "resolved" so my post may not have been seen. I am using the script to display images in both landscape & portrait mode and the portrait images are not centered, even after the images are cached. Here is an example site:

    http://www.wehobungalow.com/mobile.html

    I have been unable to determine how to correct and would appreciate advice.
    Thanks,
    Erik

  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

    Using and/or relying upon the <center> tag, the align="center" attribute and/or the the text-align: center; style to center anything other than text on your page is generally a bad idea. But, as far as I can see, you have done so. The quick fix in your particular case would be to change (from your page's HTML source code):

    HTML Code:
          <td colspan="3">
    
            <div align="center"><div id="fadeshow1"></div></div><br /></td>
    to (addition highlighted):

    Code:
          <td colspan="3">
    
            <div align="center"><div id="fadeshow1" align="left"></div></div><br /></td>
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help,
    Erik

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
  •