html - Twitter Bootstrap 3: Aligning columns to container content -


i know how solve issue using css overrides bootstrap's compiled css, seems me alignment issue such common use case must have misunderstood how use bootstrap framework. (first time bootstrap.)

case: columns in container b (jsfiddle) not align content in container a, because bootstrap generates 15px left/right padding each column.

<section class="container a">     <h1>about us</h1>     <p>lorem</p> </section>  <section class="container b">      <div class="col-md-3">         <h2>hiya!</h2>         <p>lorem ipsum</p>     </div>      <div class="col-md-3">         <h2>hiya!</h2>         <p>lorem ipsum</p>     </div>      <div class="col-md-3">         <h2>hiya!</h2>         <p>lorem ipsum</p>     </div>      <div class="col-md-3">         <h2>hiya!</h2>         <p>lorem ipsum</p>     </div>  </section> 

question: there way can make column content align container content, changing html only, without using css?

setup: i'm required use twitter bootstrap 3.0.0 above.

ot: see first post on so, i'm grateful advice on how improve question , markup.

thanks!

yes, used 2 containers, updated fiddle 2 rows instead , div class col-md-12 take whole width of screen in first row, check here : http://jsfiddle.net/3eljh/3/


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -