Phillip Senn
Phillip Senn

Reputation: 47663

Offset might not be working properly

I have:

<div class="row">
    <div class="col-md-4"></div>
    <div class="col-md-7 col-md-offset-1"></div>
</div>

In the latest Bootstrap (RC2) and I don't see an empty column between the two.

Question: Is it me?

Upvotes: 0

Views: 6775

Answers (1)

Ali Gajani
Ali Gajani

Reputation: 15089

It works here: http://jsfiddle.net/Xfp6x/1/

Try resizing the viewing window in JSFiddle towards the left side, i.e. drag it towards the left and you should see it in effect. Notice that we are using md means medium display so it has to be tested in those conditions.

See this to get the idea: http://jsfiddle.net/Xfp6x/2/

enter image description here

<div class="row">
    <div class="row">
        <div class="col-md-4">4</div>
        <div class="col-md-7 col-md-offset-1">7</div>
    </div>
</div>

The empty column is there, you don't just see it since it's invisible. But its there, try testing it a couple of times, you should notice the subtle difference when the column offsets towards the right side.;

Upvotes: 1

Related Questions