I have a mixture of problems that I am running into.
1) I am using Bootstrap-Select to get a modern select box with search capabilities, but no matter what I try, I cannot seem to get the select to fill the col-span.
2) I have split the row into 2 columns: 2 (Select) and 10 (Images/Map), but unless I change the the widths from 100% to less, they are overlapping and are being placed on top of each other, instead of left-right.
3) Each image (will be replaced by a map) is set to 50% height and 100% width, but still I see the scrollbar for the browser, and its not a small scroll space either. I want to show the map to full 50% height (each, so 100% total) without the scrollbar. I have a feeling the navbar's height needs to be taken into consideration?
Please use the attached jsFiddle for convenience! Borders are added for column visibility only and can be removed.
HTML
<div class="container" style="border: 1px solid red;">
<div class="row">
<div class="col-md-2" style="border: 1px solid blue;">
<div class="form-horizontal">
<select class="selectpicker col-sm-12" data-live-search="true" title="Routes">
<option>1 Route A - WEST</option>
<option>2 Route B - SOUTH</option>
<option>2 Route B - NORTH</option>
<option>3 Very Long Route Name C - SOUTH</option>
<option>3 Very Long Route Name C - NORTH</option>
<option>4 Route D - EAST</option>
<option>4 Route D - WEST</option>
<option>5 An Extremely Long Route Name E - SOUTH</option>
<option>5 An Extremely Long Route Name E - NORTH</option>
</select>
</div>
<div class="col-md-10 canvas" style="border: 1px solid lime;">
<div>
<img src="http://designreviver.com/wp-content/uploads/2014/11/410316.jpg" style="width:100%; height:50%;">
</div>
<div>
<img src="http://designreviver.com/wp-content/uploads/2014/11/410316.jpg" style="width:100%; height:50%;">
</div>
</div>
</div>
</div>
</div>
CSS
html, body, .container, .row, .canvas {
height: 100%;
}
.canvas {
width: 100%;
height: 100%;
}
.selectpicker {
padding-left:5px;
padding-right:5px;
}
.navbar {
margin-bottom: 0 !important;
}