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

  • Home
  • SEARCH
  • 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 6862209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:38:00+00:00 2026-05-27T02:38:00+00:00

I am creating a simple(ish) website for one of my iPhone apps using the

  • 0

I am creating a simple(ish) website for one of my iPhone apps using the Twitter Bootstrap project. I have created a full website with this and found it quite easy to use but I am having some issues media-grid.

I am trying to achieve a row of 3 images using the media-grid class. The images are 280px in width which gives me 840px in total. The container is 940px wide so I have 100px grace to use for padding etc. I am finding this extremely difficult to do as when i view the site it puts two images side by side then the third on the next row. Some anomalies are showing up though, which are;

  • When I publish the index.html and associated css file via FTP the website displays the images with two side by side then the third image on the next row underneath the first.
  • When I preview the website in ‘Coda’ (the editor on Mac I am using to write the html and css) the website looks exactly how I want it too with all 3 images side by side in one row.

I have tried a number of things;

  1. I have tried editing the .media-grid styles in the CSS and it doesn’t seem to make a difference to how the site looks. Even if I had massive margins or padding it doesn’t alter for some reason?
  2. I have tried putting my own id onto the media-grid class for the three images then styling then myself which also has no impact on the visuals.

I have used the following code to insert my images;

<div class="container">

  <ul class="media-grid" id="imagearray">
<li>
    <img class="thumbnail" src="img/tweettimemainimage.png" alt="">
</li>
<li>
    <img class="thumbnail" src="img/tweettimemainimage.png" alt="">
</li>
<li>
    <img class="thumbnail" src="img/tweettimemainimage.png" alt="">
</li>
</ul>
</div>

Am I missing something in the CSS? I am not fluent with CSS so it is possible I am overlooking something? Any help would be appreciated.

  • 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-27T02:38:01+00:00Added an answer on May 27, 2026 at 2:38 am

    To get the default styling to work correctly you need to wrap the <li>s with an <a href>.

    e.g.

    <ul class="media-grid" id="imagearray">
    <li>
    <a href="#"><img class="thumbnail" src="img/tweettimemainimage.png" alt=""></a>
    </li>
    <li>
    <a href="#"><img class="thumbnail" src="img/tweettimemainimage.png" alt=""></a>
    </li>
    <li>
    <a href="#"><img class="thumbnail" src="img/tweettimemainimage.png" alt=""></a>
    </li>
    </ul>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for help/advice with creating simple JSP website using equivalent of PHP include+switch
I have seen several methods for creating simple fixed width single column layout using
I'm creating a simple game using HTML and CSS. I have a background image
I am creating a simple application using the MVC design pattern where my model
I am fairly familiar with creating simple custom controls, but I haven't had this
I have made a program in Flex for creating simple schedules, similar to MS
While creating a simple client for a REST service which I have stubbed out,
Creating simple php login scripts is easy, with simple one table mysql integration. I
getting error while creating simple maven project [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
I'm creating a simple code generator with delegates. Why am I getting this error

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.