I’m trying to create a position: fixed sidebar using bootstrap but I haven’t had any success yet. My attempts can be summed up with essentially:
<div class="container">
<div class="row">
<div class="span3">
</div>
<div class="span9">
</div>
</div>
</div>
and setting the position of the span3 column to be fixed, and trying various different css positions. However, it seems to break the size and positioning of the span9.
Is my attempt completely wrong? Or am I missing something completely?
Thanks!
It’s not possible to align the entire page in the center using twitter bootstrap or css.
But possible with a bit of jquery.
And add id=”leftmargin” like below (scroll right):
http://jsfiddle.net/baptme/NzqfL/