次のコードを使用してポップアップボックスを生成しています
<cc1:modalpopupextender ID="ErrorMessage" runat="server" TargetControlID="cmdHospitalNew"
PopupControlID="popupError" PopupDragHandleControlID="PopupHeader" Drag="true"
OkControlID="SubmitOk" BackgroundCssClass="ModalPopupBG">
</cc1:modalpopupextender>
<div class="popupConfirmation" id="popupError" style="display: none; background-color: White;
width: 200px; height: auto;">
<div id="popupErrorMessage" style="width: 190px">
<asp:Label ID="lbl_DB_popupError" runat="server" Text="Please fill all required fields!"></asp:Label></div>
<div id="popupErrorSubmitOk">
<input type="submit" id="SubmitOk" value="OK" style="visibility: visible;" /></div>
これを中央左上に移動する方法はありますか? 現在、ポップアップは画面の中央にあります。私が使用しているスタイルシートは次のとおりです。
body {
}
.ModalPopupBG
{
background-color: #666699;
filter: alpha(opacity=50);
opacity: 0.7;
}