This question is similar to what is being asked here: stackoverflow.com/questions/16489307/…. Look for helpful answers, since the question also asks on how to remove the gutter (spaces between span divs), for a specific div or divs only.
–
Gary LisingMay 16 '13 at 2:28

This half works - it allows the boxes to sit next to each other, but then leaves a gap at the far right side - I can solve it by manually adding a width and making it !important, but I'm not sure that's the best way to go about it as it then requires all the @media queries to be changed. thank you though - best answer so far!
–
falterMay 23 '12 at 13:47

4

@kevyn the space on the far right is the margin we removed from each span grid element, you can roll your own grid over at the Customize section of the bootstrap documentation page (Grid system section) with a gutter of zero pixels between the grid elements and simply just copy the resulting grid with the responsive calculations and place it inside your own css stylesheet, this way you can have an exact grid with proportionate widths.
–
Andres IlichMay 23 '12 at 13:53

1

this also breaks offsets, which are simply margin-left overrides on spans
–
zethusAug 16 '12 at 20:46

If you are using the less files to produce the bootstrap css, set the @gridGutterWidth to 0 inside the variables.less file. Otherwise, I suppose it's a real pain to change all the margins and paddings on the css file.

Naturally, you can create your own class instead of just over riding the bootstrap class. Also, you can create spans of any width using: myspan number / number of columns. So, if you have 12 columns and want a 5 span its just 5/12 to give you the percent for the width.
–
Slopeside CreativeSep 14 '12 at 18:56

In general, if you still want to keep the gutter, but just want to narrow or widen it without creating gaps at the far right, then just make sure that the relevant margins and widths add to 100%, bearing in mind that a margin is not applied to the leftmost span. So for your 3 column layout, if you wanted, say, a 0.5% gutter, then choose 3*33% + 2*0.5% = 100%