html - Bootstrap Panels not Aligned -



html - Bootstrap Panels not Aligned -

i'm trying correctly align multiple columns , rows of bootstrap panels.

sorry if simple question, i'm new bootstrap , new css+html.

here's code 1 panel;

<div class="row"> <div class="col-sm-3"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">overall</h3> </div> <div class="panel-body"> panel body. </div> </div> </div>

duplicate this, , 2 side side. however, if add together </div> @ end, next 1 appears on new line, out of alignment. want similar layout this;

x x x x x x x x x x x x x x x x

here's screenshot of how looks when out of alignment: http://i.imgur.com/t030kvu.png

thanks help can give, i'm sure it's simple.

i don't see issue. markup seems fine me. set panels in new row if want new row :)

<div class="row"> <div class="col-sm-3"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">overall</h3> </div> <div class="panel-body">panel body.</div> </div> </div> </div> <div class="row"> <div class="col-sm-3"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">overall</h3> </div> <div class="panel-body">panel body.</div> </div> </div> </div>

see simple fiddle: http://jsfiddle.net/anup1986/4m0xfzz2/

html css twitter-bootstrap

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -