Results 1 to 3 of 3

Thread: Simple Controls Gallery v1.4 - Centering the nav buttons

  1. #1
    Join Date
    May 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple Controls Gallery v1.4 - Centering the nav buttons

    Please Help: Centering the nav buttons on the gallery.


    http://agmaconstruction.com/hubert.html

    I am trying to center the navigation buttons but still they are all in the left corner of the gallery. I have tried but no result.
    Last edited by costa1980; 05-07-2013 at 09:16 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,920
    Thanks
    43
    Thanked 3,187 Times in 3,151 Posts
    Blog Entries
    12

    Default

    Add these styles as shown:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
    
    <style type="text/css">
    
    /*Make sure your page contains a valid doctype at the top*/
    #simplegallery1{ //CSS for Simple Gallery Example 1
    position: center; /*keep this intact*/
    visibility: hidden; /*keep this intact*/
    border: 1px solid white;
    }
    
    #simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
    text-align: left;
    padding: 2px 5px;
    }
    
    #simplegallery1 img {
    	display: inline;
    }
    
    .navimages {
    	top: 0 !important;
    	vertical-align: middle;
    }
    </style>
    The browser cache may need to be cleared and/or the page refreshed to see changes.
    Last edited by jscheuer1; 05-08-2013 at 02:24 AM. Reason: add note
    - John
    ________________________

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

  3. #3
    Join Date
    May 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thak you so much !!!

    Worked perfect !

Similar Threads

  1. Simple Controls Gallery Nav Buttons
    By Greggormac in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 07-01-2010, 01:42 PM
  2. Replies: 2
    Last Post: 05-09-2010, 08:59 PM
  3. Simple Controls Gallery v1.3 Problem with not Showing Images or Controls
    By macca85 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-13-2009, 04:29 PM
  4. simple controls gallery
    By auntnini in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 07-12-2009, 10:18 PM
  5. Simple Controls Gallery - controls outside of images?
    By toolman in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 12-22-2008, 06:26 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
  •