I have a web user control with a modal popup extender in it. the modal popup contains an asp:Panel control in it. This panel contains other controls.
Tried to set
XandYproperties of the popup extender. it changes theXandYproperties of the popup. But stil开发者_运维问答l:position:fixedTried to set the Panel's CssClass to (.ModalWindow) which has the following defiition:
.ModalWindow{position:absolute;}But theposition:fixedoverrides it.Tried to wrap the
asp:Panelin a div:<div style="position:absolute;">But still no luck.
Have you tried the following:
.ModalWindow {position: absolute!important;}
The !important override is a really handy trick, particularly when working with ASP.NET controls.
Here's a bit more about it: http://www.electrictoolbox.com/using-important-css/
加载中,请稍侯......
精彩评论