My challenge is with a modal window that requires displaying two buttons at the bottom - Proceed and Cancel, using Bootstrap's button for this purpose.
I want these buttons to be positioned side by side, occupying the full width of the div. However, when I set the width of the buttons to 50%, they stack on top of each other. When I set the width to 49%, they display next to each other, but fail to take up the entire width.
This issue has been a common occurrence for me, and I'm struggling to find a solution.
Below is a snippet of the code I've been working on:
<div align="center">
<button type="button" class="btn btn-warning" ng-click="Cancel()" aria-haspopup="true" aria-expanded="false" style="width:50%"><font size="6">Cancel</font></button>
<button type="button" class="btn btn-success" ng-click="Proceed()" aria-haspopup="true" aria-expanded="false" style="width:50%"><font size="6">Proceed</font></button>
</div>