I have a <div> which is basically a shopping cart which I want to have fixed to the right as the user scrolls through content. I'm using Bootstrap and have this...
<div id="my_order" class="well order_panel affix">
stuff
</div>
The problem is that if .stuff gets tall, the height of <div id="my_order"> gets to the point where the bottom of it is off the bottom of the page of the browser window. Like this...
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div class="col-md-8">some stuff</div>
<div id="my_order" class="col-md-4 well order_panel affix">
begin
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
I can't see this!!!
</div>
</div>
Is there a way to fix this?