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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T13:55:19+00:00 2026-06-18T13:55:19+00:00

I have a grid using twitter bootstrap that we are converting from a table.

  • 0

I have a grid using twitter bootstrap that we are converting from a table. Ordinarily we would consider this tabular data and just use a table but we have to (client requirements) be able to reliably print the table and given the bag of hurt printing log tables is, I’m migrating to bootstrap grids.

What I need to be able to simulate is the rowspan that we’re currently using in the table.

Note I’m using a custom bootstrap with a grid of 10 cols because of size constraints

JS Fiddle of example http://jsfiddle.net/dstarh/hKjEM/

<div class="container">
    <div class="row">
        <div class="span1">Date</div>
        <div class="span2" style="text-align:center;">Total Time</div>
        <div class="span1" style="text-align:right;">Time of activity</div>
        <div class="span1" style="text-align:left;">Time of Day</div>
        <div class="span1" style="text-align:right;">Distance</div>
        <div class="span4" style="text-align:left;">Description</div>
    </div>
    <div class="row">
        <div class="span3">
            <div class="row">
                <div class="span1" style="height:100%;">01/31/2013</div>
                <div class="span2" style="height:100%;">8 hours/12 miles
                    <hr> <span class="target-calories">
                      TARGET 15 miles
                    </span>

                </div>
            </div>
        </div>
        <div class="span7">
            <div class="row">
                <div class="span1" style="text-align:right;">1 hour</div>
                <div class="span1" style="text-align:left;">morning</div>
                <div class="span1" style="text-align:right;">3 miles</div>
                <div class="span4" style="text-align:left;">ran 3 miles</div>
            </div>
            <div class="row">
                <div class="span1" style="text-align:right;">1 hour</div>
                <div class="span1" style="text-align:left;">noon</div>
                <div class="span1" style="text-align:right;">2 miles</div>
                <div class="span4" style="text-align:left;">walked 2 miles</div>
            </div>
            <div class="row">
                <div class="span1 offset2" style="text-align:right;">2 miles</div>
                <div class="span4" style="text-align:left;">biked 2 miles</div>
            </div>
            <div class="row">
                <div class="span1 offset2" style="text-align:right;">4 miles</div>
                <div class="span4" style="text-align:left;">ran 4 miles</div>
            </div>
            <div class="row">
                <div class="span1" style="text-align:right;">4 miles</div>
                <div class="span1" style="text-align:left;">night</div>
                <div class="span1" style="text-align:right;">4 miles</div>
                <div class="span4" style="text-align:left;">ran 4 miles</div>
            </div>
        </div>
    </div>
    </div>

I need the first two columns (inside the span3) to be vertically centered next to the rest of the columns/rows ). The number of rows on the right (in the span 7) is random, anywhere from 1 to likely 10-15 on the high end.

  • 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-18T13:55:21+00:00Added an answer on June 18, 2026 at 1:55 pm

    This should get you close. You do have to stretch the frame wide enough to allow responsive to do its thing. Note that vertical alignment is a challenge in itself and may require a nested table or JavaScript solution (see below).

    http://jsfiddle.net/WfDUY/4/

    .row {
        position: relative;
    }
    .gray {
        background-color: #eee;
        height: 100%;
        vertical-align: middle;
        height: 100%;
        position: absolute;
    }
    .grayer {
        background-color: #ddd;
    }
    
    <div class="row">
        <div class="span10">
            <div class="row">
                <div class="span3">I want to be Vertically Aligned in the middle</div>
                <div class="span7 offset3">
    ...
    

    Here’s an example with the nested table solution: http://jsfiddle.net/WfDUY/6/

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

Sidebar

Related Questions

I am using Twitter Bootstrap and at one place I have nested fluid-grid in
I'm using .NET webforms. I have a grid view that can use Eval(Name) in
I have a schedule grid based on a HTML table using jQuery/jQuery UI drag
I'm using twitter bootstrap spans to form two columns in a grid layout. I
I have a grid using jqgrid . I need to store the some data
Hopefully this is a quick one! I have an editable grid using 'clientSide' (local)
I have been following this nice walkthrough for creating a grid using MVC contrib.
I have a responsive layout using Twitter Bootstrap with two columns. div #charts shows
I have an application that has drawn a grid using CDC (it has text,
I'm creating a form that uses Twitter Bootstrap's Fluid Grid system . A picture

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.