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 8314673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:53:59+00:00 2026-06-08T20:53:59+00:00

I have an issue with aligning thumbnails in a Twitter Bootstrap well: I’m using

  • 0

I have an issue with aligning thumbnails in a Twitter Bootstrap well:

  1. I’m using fluid layout
  2. My thumbnails are 183 by 154 px
  3. I would like to use fixed image sizes, but variable margins and that the thumbnails perfectly align within the area they are in.

This is the result for what I have so far:

https://i.stack.imgur.com/1qUA6.png

As you may notice; the images are aligned to much to the left.
The thumbnails are wrapped as such:

 <div class="row-fluid">
     <div class="span6">

My html:

  <ul id="nwthumbs">
     <li><a href="#" ><img src="Fernando-Alonso-Ferrari-3_2799133.jpg"><h2><span>Fernando Alonso has credited Ferrari's decision to stop for a new set of we...</span></h2></a>
      <button class="btn btn-mini" type="button" >Read More</button></li>
      <li><a href="#" ><img src="Sir-Alex-Ferguson_2794602.jpg">
          <h2><span data-bind="html: titleShortened">Sir Alex Ferguson says there is 'no chance' of Manchester United repeating ...</span></h2></a><button class="btn btn-mini" type="button" >Read More</button></li><li><a href="#" ><img src="Paul-Bohan-2012_2799199.jpg">
 <h2><span>Local Hero claimed a first victory of the year with a determined effort in ...</span>
      </h2> </a><button class="btn btn-mini" type="button" >
                                        Read More</button>
                                </li>
              <li><a href="#" ><img src="Douglas_2675905.jpg">
      <h2><span>FC Twente chairman Joop Munsterman admits he is unsure whether Newcastle Un...</span></h2> </a><button class="btn btn-mini" type="button" >
                                        Read More</button>
                                </li>
                                <li><a href="#" >
                  <img src="Darryl-Westlake-Walsall_2465450.jpg">
                                    <h2>
      <span>Sheffield United have confirmed the signing of promising defender Darryl We...</span>
                                    </h2>
                                </a>
                                    <button class="btn btn-mini" type="button" >
                                        Read More</button>
                                </li>
   </ul>

I’m using Twitter Bootstrap.

What I have tried so far is making the pictures variable size; width 100% and height 100%, that works, but when resizing to a smaller ViewPort, it will resize the images instead of wrapping the images so that they appear in two columns.

  • 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-06-08T20:54:01+00:00Added an answer on June 8, 2026 at 8:54 pm

    Try with this CSS :

    #nwthumbs {
      text-align:center;
    }
    
    #nwthumbs > li {
        display: inline-block;
        *display:inline; /* ie7 fix */
        float: none; /* this is the part that makes it work */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have issue wuth Firefox not displaying style text-decoration: line-through. I am using jqGrid
i have issue regarding Paging using filterexpression. here's the piece of code for filtering
MSSQL database. I have issue to create database using old databases data. Old database
i have done drag and drop using with jquery. here i have issue that
Seems like everyone have issue accessing local machine or internet etc from emulator. All
I'm having a design issue using jQuery FadeIn on Internet Explorer: I have a
I have issue, after checkout on checkout/onepage/success get a user info using order id,
I have issue with: <form:checkboxes path=roles cssClass=checkbox items=${roleSelections} /> If previous line is used
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
We are new to ROR, We have issue in creating Login/Logout process in ROR

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.