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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:11:09+00:00 2026-06-17T18:11:09+00:00

If I use bootstrap, it messes the alignment up on my page. Member names

  • 0

If I use bootstrap, it messes the alignment up on my page. Member names should be appeared right next to icon, but with Bootstrap, they overlap the icon.
How can I fix this?

enter image description here

Also, when the browser window is made smaller, the square line gets messed up too. I want the data to have a border when the window is small.

So I don’t want it to look like this:

enter image description here

But rather, like this:

enter image description here

If possible I want to have these icon, and name in middle not on the top.

DEMO http://jsfiddle.net/sbq7X/

HTML

    <div class="store_row">
    <div class="store_left">
        <div class="store_title">walmart</div>
        <div class="store_location">Located in California</div>
    </div>

    <div class="store_right">
        <div class="store_icon">
                <img class="img-polaroid" src="http://www.miraiha.net/wpblog/wp-content/uploads/2010/10/designreviver-free-twitter-social-icon-300x266.jpg" />
        </div>
        <div class="introduction">
            <div class="name1">John Tailor</div>
            <div class="name2">Mike Smith</div>
            <div class="name3">Jessica Swan</div>
        </div>
    </div>

</div>

    <div class="store_row">
    <div class="store_left">
        <div class="store_title">walmart</div>
        <div class="store_location"><span class='text-error'>Located in California</span></div>
    </div>

    <div class="store_right">
        <div class="store_icon">
                <img class="img-polaroid" src="http://media-cache-ec1.pinterest.com/avatars/walmarthub-1349815045_600.jpg" />
        </div>
        <div class="introduction">
            <div class="name1">John Tailor</div>
            <div class="name2">Mike Smith</div>
            <div class="name3">Jessica Swan</div>
        </div>
    </div>

CSS

div.store_row{
    min-width: 300px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    border:1px solid;
    display:table;
}

div.store_left{
    width: 300px;
    display:inline-block;
    vertical-align:top;    
}

div.store_right{
    width: 300px;   
    display:inline-block;
    vertical-align:top;
    background-color: #FFFFFF;
}

div.store_title{
    background-color: #000000;
    color: #FFFFFF;
    height: 35px;
    padding:5px;
}

div.store_location{
    height: 35px;  
    border-right:1px solid;
    background-color: #FFFFFF;
    padding:5px;
}

div.store_icon{
    width: 70px;
    height: 70px;
    display:inline-block;
}

div.store_icon img{
    width:100%;
    height:100%;
}

div.introduction{
    display:inline-block;
    vertical-align:top;
    width:200px;
    text-align: left;
}

.... and bootstrap
  • 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-17T18:11:10+00:00Added an answer on June 17, 2026 at 6:11 pm

    img-polaroid class has 4px padding and it causes the problem:

    .img-polaroid {
      padding: 4px;
      background-color: #fff;
      border: 1px solid #ccc;
      border: 1px solid rgba(0, 0, 0, 0.2);
      -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    

    See the fiddle where it’s removed.

    EDIT: The alignment is working fine as well. You have static width for the all elements and they’re too wide for fiddle. I’ve decreased their size so they are inline now.

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

Sidebar

Related Questions

I have started to use frameworks like Twitter Bootstrap , but if Twitter releases
I'm trying to use bootstrap with the jquery validation plugin but when I try
I'd like to use twitter bootstrap manually, on my rails project. But I've got
I am attempting to use the Bootstrap typeahead - but have no luck getting
I'm trying to use Bootstrap's Pagination style. The documentation says to create the page
I'm trying to use Bootstrap and I'm having some trouble implementing the page navigation.
I would like to use the bootstrap-fileupload.js ( http://jasny.github.com/bootstrap/javascript.html#fileupload ) but I am confused
I'm trying to use Twitter Bootstrap's pill navigation, but it's not working properly. I
I am trying to use Bootstrap forms in Rails. But after inspecting the _form
I have a page on which I use bootstrap and I added a map

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.