I use a popup in a div, but I canβt show it in a popup because the object is stronger than the popup :) and the popup below the object. I use the iframe tag! and set the z-index property, which pops up over the iframe, iframe is stronger than the object
<asp:Panel runat="server" ID="PnlRefer" Width="300px" Style="background-color: #D6D6D6; padding-bottom: 5px; min-height: 145px; display: block; position: absolute; top: -100px;">//my popup <iframe src="" width="297px" style="position: fixed;z-index:-1; height:303px;" scrolling="no"></iframe> <div style="z-index: 1;height: 300px;Width:300px;"> ...//content of popup </div> </asp:Panel>
source share