DeletePageConfirmPopup at top of page.

Dec 1, 2008 at 8:01 PM
When you are looking a page with several widgets and you scroll down to the bottom and attempt to delete a widget, the modal popup  ( textarea id="DeletePageConfirmPopupPlaceholder" in Default.aspx) shows up toward the top of the page and you have to scroll up to click Yes or No.
Does anyone know a simple way to fix this that will work in Firefox and IE ?
Developer
Dec 8, 2008 at 12:47 PM
A simple solution would be to change the style of the modal popup.
The following style will work for IE:

#DeleteConfirmPopup
{
 display:none;
 z-index: 60000;
 position: absolute;
 left: 40%;
 margin-left: -150;
 margin-top: -60;
 width: 300px;
 height: 120px;
 border: solid 4px black;
 padding: 10px;
 background: white url('warning.jpg') no-repeat 10px 10px;
 text-align: center ;
 top:expression(this.offsetParent.scrollTop+100);
}