I have explored various solutions regarding this issue, but none of them seem to meet my specific requirements. What I am trying to achieve is the correct positioning of a div as depicted in the green area in the image.
https://i.sstatic.net/O9OMi.png
The div located above the green div contains a scrollable table. How can I ensure that the div is positioned correctly?
I attempted the following code, but encountered an issue where the div extended to cover the entire page instead of staying within its parent div:
<div class="row">
<div class="col-8">
<p> Big area </p>
</div>
<div class="col-4">
<div class="row">
<div class="card col-12">
<div class="card-body">
<p>Cart Area</p>
</div>
</div>
<div class="card col-12" style="position: fixed; bottom: 0; right: 0; ">
<div class="card-body">
<p>Green Area</p>
</div>
</div>
</div>
</div>
</div>