.lblalert { position: absolute; top: 10px; right: 10px; height:27px; background-color:yellow; color:black; text-align:center; border-radius: 3px; padding-left: 20px; padding-right: 20px; display: inline; } <asp:Label runat="server" ID="lblAlertMessage" CssClass="lblalert">
.lblalert { position: absolute; height:27px; background-color:yellow; color:black; text-align:center; border-radius: 3px; top: calc(50% - 50px/2); left: calc(50% - 50px/2); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)