Using bootstrap, you need to separate a series of DIVs with col -... such as this:
<div class="row" id="HeadBar"> <div class="col-xs-12 col-md-6 border1"> Something to show </div> </div>
Because col -... divs uses the float system, and the line allows you to clear the DOM. By the way, using% for heights with a static or relative position does not work. You must use pixels, em or whatever you want.
#HeadBar { background-color: #ffffff; min-height: 50px;
or just use a fixed or absolute property to set the pourcentage value:
#HeadBar { background-color: #ffffff; height: 10%; width: 100%; position: fixed; left: 0; top: 0; display: block; }
Hope this helps!
source share