Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    8
    Member #
    20426
    I used a photoslide generator ro create a image gallery. Every time I hit next to the next picture, the page resizes according to picture size. Is there something i can do within the css which will keep it centered and not moving with each procession?
    I just it centered. Each photo is a different html page so if i have to change the photo, i have to go through and change each page.....
    This is my css code.
    thanks!

    /* Main Selectors */
    body {
    background-color: #FFFFFF;
    color: #000000;
    }
    a, a:visited {
    background-color: transparent;
    color: #800000;
    }
    a:hover {
    background-color: transparent;
    color: #008000;
    }
    /* Header */
    div#header h1 {
    font-family: "Courier New", Courier, monospace;
    text-align: center;
    background-color: transparent;
    color: #000000;
    }
    /* Thumbnail Index */
    div#index {
    margin: 1ex 0 1ex 0;
    text-align: center;
    }
    div#index table {
    text-align: center;
    margin: 0 auto 0 auto;
    }
    div#index td.thumbcell {
    width: 140px;
    border-style: solid;
    border-color: #D7D3C8;
    border-width: 1px;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    }
    div#index td.thumbcell img {
    border-style: none;
    }
    div#index div.pages {
    font-family: tahoma, arial, helvetica, sans-serif;
    font-size: 0.8em;
    text-align: right;
    }
    /* Photo Navigation */
    div#navigation {
    text-align: center;
    font-family: tahoma, arial, helvetica, sans-serif;
    font-size: 0.8em;
    margin: 1ex 0 1ex 0;
    }
    div#navigation table {
    text-align: center;
    margin: 0 auto 0 auto;
    \
    }
    div#navigation td.previous {
    text-align: left;
    width: 140px;
    }
    div#navigation td.index {
    text-align: center;
    }
    div#navigation td.next {
    text-align: right;
    width: 140px;
    }
    div#navigation td.thumbcell {
    width: 140px;
    border-style: solid;
    border-color: #D7D3C8;
    border-width: 1px;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    }
    div#navigation td.thumbcell img {
    border-style: none;
    }
    div#navigation td.selected {
    border-style: outset;
    border-width: 2px;
    }
    div#navigation span.home {
    display: block;
    padding-bottom: 1em;
    }
    /* Photograph */
    div#photograph {
    text-align: center;
    margin: 1ex 0 1ex 0;
    padding 2px;
    }
    div#photograph img {
    margin: 0 auto 0 auto;
    border-style: solid;
    border-color: #000000;
    border-width: 1px;

    }
    /* Photograph Title */
    h1.title {
    text-align: center;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.8em;
    font-weight: bold;
    margin: 0px;
    }
    /* Photograph Caption */
    p.caption, p.description {
    font-family: tahoma, arial, helvetica, sans-serif;
    text-align: center;
    font-size: 0.8em;
    display: block;
    width: 640px;
    margin: auto;
    }
    /* Footnote */
    p.footnote {
    font-family: tahoma, arial, helvetica, sans-serif;
    font-size: 0.6em;
    text-align: right;
    padding: 0 2em 0 0;
    }

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2009
    Location
    Chicago, IL
    Posts
    114
    Member #
    20579
    Liked
    2 times
    do you have a link? it's a little easier to diagnose if we can see it.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:03 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com