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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -