0

I have the following html code.

<div class="panel" style="background-color: #e6e6e6">
        <div class="col-sm-9">
            <video id="currentVideo" src="{{currentVideo.Source}}" width="100%" height="auto" controls style="margin: 5px">
                Your browser does not support the video tag.
            </video>
        </div>
        <div class="col-sm-3" style="overflow-y: scroll;">
            <div ng-repeat="video in videoHelpFiles" style="margin: 5px">
                <button class="btn btn-primary" ng-click="showVideo(video)" style="width: 100%; white-space: normal; padding: 5%">
                    <h4 style="text-align:center; margin: 4px 0px;"> {{video.Title}} </h4>
                </button>
            </div>
        </div>
    </div>

There's some styling in here too which I want to eventually move but leaving here until I get it how I want it. Basically all I want to do is have the col-sm-3 div be the same height as the sol-sm-9 height and would like the buttons in the col-sm-3 div to use 100% height of the div they're in. I've tried using height='100%' and a few things like that with no luck. Any help would be greatly appreciated.

j08691
  • 204,283
  • 31
  • 260
  • 272
John O C
  • 103
  • 2
  • 9

0 Answers0