I have a fluid Bootstrap layout with three span4's inside of a row-fluid div. This looks and works the way I would expect it to. Calling .sortable();
on the row element works, but during drag, the layout becomes strangely unpredictable. Here's a link: http://jsfiddle.net/dhilowitz/CwcKg/15/. If you grab Item #3 and move it left, it behaves exactly the way I would expect it to. If you grab Item #1 and move it right, however, all hell breaks looks and Item #3 moves to the next row.
JSFiddle: http://jsfiddle.net/dhilowitz/CwcKg/15/
HTML:
<div class="container-fluid">
<div class="row-fluid sortme">
<div class="span4 element"><h2>Item #1</h2><p>Lorem ipsum dolor sit amet, consectetur</p></div>
<!--/span-->
<div class="span4 element"><h2>Item #2</h2><p>Lorem ipsum dolor sit amet, consectetur</p></div>
<!--/span-->
<div class="span4 element"><h2>Item #3</h2><p>Lorem ipsum dolor sit amet, consectetur</p></div>
<!--/span-->
</div>
<!--/row-->
</div>
<!--/.fluid-container-->
Javascript:
$(".row-fluid").sortable();
CSS:
.element > h2 {
cursor:pointer;
background-color:#cccccc;
border-radius:5px;
padding: 0px 5px;
}