html - Arranging Div within div in bootstrap -


i creating website structure of bootstrap.

the problem while arranging 3 div tags in 1 main div tag, not arranging side side. arranged 1 below another.

<div class="col-md-12 collapse" style="border:1px solid blue;" id="part1">       <div class="col-md-4" style="border:1px solid green;"><h5>part 1.1</h5></div>       <div class="col-md-4" style="border:1px solid green;"><h5>part 1.2</h5></div>       <div class="col-md-4" style="border:1px solid green;"><h5>part 1.3</h5></div> </div> 

i want arrange 3 div tags 1 beside another.

.col-md-4 { display: inline-block; } 

jsfiddle


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -