<div class='parent'>
<div class='child'>child 1</div>
<div class='child'>child 2</div>
</div>
.parent {
text-align: center;
}
.child {
display: inline-block;
vertical-align: middle;
}
#element1 {display:inline-block;margin-right:10px;}
#element2 {display:inline-block;}
#block_container {
display: flex;
justify-content: center;
}
#block_container
{
text-align:center;
}
#bloc1, #bloc2
{
display:inline;
}