JSFiddle - React, Tailwind, and code Playground
HTML
<div class="box">
<p style="width:200px;height:100px;margin-right:auto;margin-left:auto">
<Button ID="OkButton" runat="server" Text="Remove" CommandName="delete" CommandArgument='<%#Eval("CartID") %>'/>
<Button ID="CancelButton" runat="server" Text="Cancel" />
</p>
</div>
CSS
p {
display: flex;
align-items: center;
justify-content: center;
}
p Button {
width: 100px;
height: 100px;
border: 1px solid red;
}