"Panels with nav tabs horizontal"
Bootstrap 3.2.0 Snippet by Tiago188

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="col-md-6"> <div class="panel with-nav-tabs panel-default"> <div class="panel-heading"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1default" data-toggle="tab">Default 1</a></li> <li><a href="#tab2default" data-toggle="tab">Default 2</a></li> <li><a href="#tab3default" data-toggle="tab">Default 3</a></li> </ul> </div> <div class="panel-body"> <div class="tab-content"> <div class="tab-pane fade in active" id="tab1default">Default 1</div> <div class="tab-pane fade" id="tab2default">Default 2</div> <div class="tab-pane fade" id="tab3default">Default 3</div> </div> </div> </div> </div> </div>
/* Fix */ .panel-heading, panel-body { float: left; } .nav-tabs > li { float: none; }

Related: See More


Questions / Comments: