Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6698697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:36:31+00:00 2026-05-26T06:36:31+00:00

Hi I have setup a gallery where images are listed in thumbnails alongside the

  • 0

Hi I have setup a gallery where images are listed in thumbnails alongside the main image which can in turn be zoomed by the user.

However, for some reason, when I use 3 thumbnails (4 align perfectly with the main image), instead of listing them from the top of the div, they are aligned from the bottom so the webpage looks like:

   ________
   |       |
 _ |       |
|_||       |
 _ |       |
|_||       |
 _ |       |
|_||_______|

instead of

 _ ________
|_||       |
 _ |       |
|_||       |
 _ |       |
|_||       |
   |       |
   |_______|

My css is:

.clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;line-height:0;visibility:hidden;}
.clearfix{display:block;zoom:1}


ul#thumblist{display:block; margin-left:-40px;}
ul#thumblist li{float:left;margin-right:6px; margin-bottom:4px; margin-top:-2px;list-style:none;}
ul#thumblist li a{display:block;border:1px solid #666}
ul#thumblist li a.zoomThumbActive{
   border:1px solid #F7941E;

}

and my html is:

<table border>
  <tr>
    <td width="101" rowspan="4"><div class="clearfix" >
    <ul id="thumblist" class="clearfix" >
        <li><a class="zoomThumbActive" href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: './imgProd/1.jpg',largeimage: './imgProd/1.jpg'}"><img src='imgProd/1.jpg' style="width:110px; height:110px;"></a></li>
        <li><a href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: './imgProd/2.jpg',largeimage: './imgProd/2.jpg'}"><img src='imgProd/2.jpg' style="width:110px; height:110px;"></a></li>
        <li><a  href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: './imgProd/3.jpg',largeimage: './imgProd/3.jpg'}"><img src='imgProd/3.jpg' style="width:110px; height:110px;"></a></li>
    <li><a  href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: './imgProd/4.jpg',largeimage: './imgProd/4.jpg'}"><img src='imgProd/4.jpg' style="width:110px; height:110px;"></a></li>

    </ul>
    </div></td>
    <td width="450" rowspan="4"><div class="clearfix">
        <a href="imgProd/1.jpg" class="jqzoom" rel='gal1'  title="" >
            <img src="imgProd/1.jpg"  title=""   style="border:2px solid #F7941E;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5); width:450px; height:450px;">
        </a>

</div></td>
    <td></td>
  </tr>
  </table>

Why wont the images align vertically from the top of the div/table as opposed to aligning from the bottom? Any help much appreciated!!

Thanks
JD

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:36:32+00:00Added an answer on May 26, 2026 at 6:36 am

    You should just be able to use

    tr{
        vertical-align:top;
    }
    

    Example: http://jsfiddle.net/7fp8s/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple gallery style link setup using image swap on hover that
I have the following setup of models: User - has_many File (for userpics) Gallery
I'm trying to setup a very basic jQuery image gallery. You can see my
I have a very simple ColorBox gallery setup just like the examples. Simple tags
I have setup ability for a user to specify some settings using the in-built
I have setup mappings for a number of classes, however in some scenarios I
I have setup hadoop on top of mongodb using hadoop-mongodb driver. Currently I can
I have been working on an image gallery in PHP and Javscript for a
I have hmvc setup and working fine, I have a gallery module. The gallery
currently I have the a basic jQuery gallery: <ul> <li>IMAGE</li> <li>IMAGE</li> </ul> // with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.