You need to place divs in a row. My code is :
<div class="alert alert-info" style="width: 100%"> <div style="float:left; width: 48%"> <center>Вы </center> </div> <div style="width: 4%"> <div style="width: 1px; height: 100px; background-color: #97070B;"></div> </div> <div style="float:right; width: 48%"> <center>Вы </center> </div> </div> The problem is that the center must have a vertical div type hr .