Results 1 to 3 of 3

Thread: Ultimate Fade-in slideshow (v2.4) Help

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v2.4) Help

    1) Script Title: Ultimate Fade-in slideshow (v2.4)

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

    3) Describe problem: Hey guys bascially I've been creating a website at www.unitybangor.co.uk and as you can see the images are not aligned to the centre of the slideshow. In order to align the whole slideshow I put the slideshow in an align centre div but cannot get the images to centre themselves :/ Can you guys help?

    Many thanks.

  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

    That's not the standard way of centering things these days. One is supposed to give the item to be centered a width and a margin of 0 auto. However, you can correct the alignment of the images in the show by adding this to your stylesheet:

    Code:
    #fadeshow1 {
    	text-align: left;
    }
    Paradoxically, because the script already centers the images via top and left positioning, aligning to left (the default for all elements) will center them. But if you still want the descriptions centered (doing the above will align them to the left), you may add:

    Code:
    #fadeshow1 .descpanelfg {
    	text-align: center;
    }
    Alternatively, if you want to do it the 'right' way get rid of that align="center" attribute from the container. Put this in your stylesheet:

    Code:
    #fadeshow1 {
    	margin: 0 auto;
    }
    The script already sets the width for you. And you may still add:

    Code:
    #fadeshow1 .descpanelfg {
    	text-align: center;
    }
    to center the descriptions if you like.
    Last edited by jscheuer1; 06-17-2011 at 11:53 PM. Reason: add alternate
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    lourix (06-18-2011)

  4. #3
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thankyou so much John!!

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
  •