Advanced Search

Results 1 to 3 of 3

Thread: simple gallery how to aline central

  1. #1
    Join Date
    Feb 2013
    Posts
    20
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Smile simple gallery how to aline central

    Hi,

    I still don't seem to be able to find where to adjust the aliment to make it central? I have tried a few things but unsuccessfully!! Please help with I'm sure this simlpe task.

    I tried change this and the paddings (but this is for text of title's and not the box I guessing?: text-align: left;
    padding: 2px 5px;

    Thanks, P.S code bellow:http://www.globalglam.co.uk/GallerySider1.php

    <style type="text/css">

    /*Make sure your page contains a valid doctype at the top*/
    #simplegallery1{ //CSS for Simple Gallery Example 1
    position: relative; /*keep this intact*/
    visibility: hidden; /*keep this intact*/
    border: 10px solid darkred;
    }

    #simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
    text-align: left;
    padding: 2px 5px;
    }

    </style>

    <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: relative; /*keep this intact*/
    visibility: hidden; /*keep this intact*/
    border: 3px solid;
    border-top-color: #666666;
    border-right-color: #999999;
    border-bottom-color: #666666;
    border-left-color: #999999;
    }

    #simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
    text-align: left;
    padding: 2px 5px;
    }

    </style>

    <script type="text/javascript" src="simplegallery.js">

    /***********************************************
    * Simple Controls Gallery- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/

    </script>

    <script type="text/javascript">

    var mygallery=new simpleGallery({
    wrapperid: "simplegallery1", //ID of main gallery container,
    dimensions: [800, 533], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
    imagearray: [

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,885
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    The solution was here: http://www.dynamicdrive.com/forums/s...095#post291095

    See the second code snippet from that post.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

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

    Travlast (03-06-2013)

  4. #3
    Join Date
    Feb 2013
    Posts
    20
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default

    Great got it thanks!

Similar Threads

  1. Replies: 1
    Last Post: 09-23-2012, 09:29 PM
  2. Replies: 1
    Last Post: 09-22-2011, 03:36 PM
  3. Replies: 0
    Last Post: 09-07-2010, 03:58 AM
  4. How to Store/Edit/Retrieve Central Data for Free?
    By Alice Moore in forum Looking for such a script or service
    Replies: 2
    Last Post: 07-14-2010, 09:10 AM
  5. Simple Php Gallery help
    By jzhang1013 in forum PHP
    Replies: 0
    Last Post: 10-03-2008, 04:10 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
  •