brentonstrine
brentonstrine

Reputation: 22752

Fixed width column and fluid content area in Bootstrap

I want to use Twitter Bootstrap to mix fixed and fluid width columns, exactly like this.

As you can see, it is trivially easy to do with HTML and CSS. Is there a way to do it using bootstrap only?

Upvotes: 13

Views: 20963

Answers (2)

Dan Gayle
Dan Gayle

Reputation: 2357

You'll have to create a span that contains a fixed-width column absolutely positioned to the left or to the right and then add another column with a margin wide enough to fit the fixed column.

Upvotes: 1

Danny
Danny

Reputation: 1259

There is no way in Bootstrap to prevent from fluid style. You have to write new class and use it in the same div.

<div class="span4 newclass">

.newclass{width:200px!important}

Upvotes: 14

Related Questions