Results 1 to 4 of 4

Thread: Can't center Ultimate Fade-In Slideshow

  1. #1
    Join Date
    Nov 2009
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Can't center Ultimate Fade-In Slideshow

    Can someone look at this page and tell me why the slideshow won't center inside the "slideshow" div?
    I've got the margins right and left set to auto and no float.
    If I use just margin-left: 100px;, it moves over 100px but that's not what I want. Just want it centered in the div.

    Here's the page:

    http://www.yorkcountryclub.net/newindex.php

    This is a new project, so I know the rest of the page is messy...

    Thanks!
    Last edited by BelowZero; 09-27-2013 at 06:58 PM. Reason: link didn't appear.

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,774
    Thanks
    2
    Thanked 410 Times in 405 Posts

    Default

    that is a very old version of the script
    but
    Code:
    #slideshow	{
    		width:990px;
    		margin-left:0px;
    		margin-right:0px;
    		background-color: black;
    }
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,925
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    I'd be more inclined to change (from yorkcountryclub.net/A-CSS/yccstylesheet.css around line #305):

    Code:
    #slideshow	{
    		width:80%;
    		margin-left: auto;
    		margin-right:auto;
    		background-color: black;
    }
    to:

    Code:
    #slideshow	{
    		width:990px;
    		margin-left: auto;
    		margin-right:auto;
    		background-color: black;
    }
    BTW, here:

    Code:
    		<script type="text/javascript">
    		//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    		new fadeshow(fadeimages, 990, 380, 2, 6000, 1, "R")
    		new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
     		</script>
    The page isn't using the highlighted line. It's throwing a non-fatal error. Best to get rid of it.
    - John
    ________________________

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

  4. #4
    Join Date
    Nov 2009
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    oh yes.
    Thanks.

Similar Threads

  1. :: Ultimate Fade-in slideshow (v2.4) - center description text
    By jvloren in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-19-2012, 07:37 AM
  2. Center Image In Ultimate Slideshow 2.4
    By musicmed in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-27-2011, 07:59 AM
  3. Replies: 3
    Last Post: 07-12-2010, 04:04 PM
  4. Ultimate Fade-in slideshow (v2.1) Horizontal off center.
    By RatataDK in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 04-13-2010, 07:49 PM
  5. Resolved Center the Ultimate Fade-in Slide Show (v2.1)
    By StephanieT in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 03-11-2010, 11:24 PM

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
  •