html - Adding a scroll to left panel in bootstrap powered page -
i wrote page restaurant shown here.
want scroll added left panel. i'm using over-flow-y: scroll
left panel shown below:
<div class="col-sm-4 col-md-4" id="offers"> <div id="offerone"> <img src="images/images.jpg" class="img-responsive center-block"> </div> <div id="offertwo"> <img src="images/images.jpg" class="img-responsive center-block"> <button class="btn btn-primary center-block">view offer</button> </div> <div id="offerthree"> <img src="images/images.jpg" class="img-responsive center-block"> <button class="btn btn-primary center-block">view offer</button> </div> </div>
css:
#offers { margin-top: 0.5%; height: 100; overflow-y: auto; background: #f6f6f6 none repeat scroll 0% 0%; }
but scrolling isn't coming. how can it?
try updating value of height 100 100px
#offers { margin-top: 0.5%; height: 100px; overflow-y: auto; background: #f6f6f6 none repeat scroll 0% 0%; }
Comments
Post a Comment