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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:55:50+00:00 2026-06-17T04:55:50+00:00

How can I make 2 column layout with Twitter Bootstrap? I use this scheme:

  • 0

How can I make 2 column layout with Twitter Bootstrap?
I use this scheme:

<div class="container">         
  <div class="row">
    <div class="span2"> 
      Red rectangle
    </div>
    <div class="span6">
      Blue rectangle
    </div>
    <div class="span6">
      Blue rectangle
    </div>
    <div class="span6">
      Blue rectangle
    </div>
    <div class="span6">
      Blue rectangle
    </div>
  </div>
</div>

Which generates this layout:
enter image description here

I would like to have the blue rectangles always “on the right”, not left.

What am I doing wrong?

  • 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-17T04:55:52+00:00Added an answer on June 17, 2026 at 4:55 am

    You might want to review the scaffolding documentation. It sounds more like you want rows nested inside your right hand column.

    <div class="container">         
      <div class="row">
    
        <div class="span2"> 
          Red Rectangle
        </div>
    
        <div class="span6">
          <div class="row">
            <div class="span6">
              Blue Rectangle
            </div>
          </div>
          <div class="row">
            <div class="span6">
              Blue Rectangle
            </div>
          </div>
          <div class="row">
            <div class="span6">
              Blue Rectangle
            </div>
          </div>
          <div class="row">
            <div class="span6">
              Blue Rectangle
            </div>
          </div>
        </div>
    
      </div>
    </div>
    

    It might not actually be necessary to wrap each blue rectangle in a “row” div, with span6 they should stack. But its cleaner this way.

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

Sidebar

Related Questions

Inside a liquid css layout i have this code: <div class=column> <div class=absolute_small_column><p>Absolut small
I'm trying to make a 2 column layout using class=left and class=right, at the
I can't make HTML layout described as in jsFiddle link below, using <div> and
How can I make a layout like this in XUL? -------------------------------------------- elem11 | elem12
In the below HTML fragment, how can I make the width of a column
I can make a single row IKImageBrowserView by setting the [imageBrowser setContentResizingMask:NSViewWidthSizable]; but in
I can make batch or vbs file on windows and run. this can automate
I am trying to make a 2 column layout, apparently the bane of CSS.
I have the following 2 column div layout. The left column needs to have
my website http://whoisdomains.co.uk/ is using twitter bootstrap http://twitter.github.com/bootstrap/index.html I am attemptimg to use the

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.