Vote count:
0
Im trying to create a popup using a asp.net updatepanel. I want the background of the popup to fill the whole page (100% width, 100% height) and have the width of the popup itself set to 1000px and positioned top center.
I've tried wrapping the panel in a div and setting the width to 100%. However the browser simply ignores it. How can I control an asp.net update panel using css? and can the above be achieved?
the html:
<!-- Group Details Popup Starts -->
<div id="divGroupDetails" runat="server">
<asp:UpdatePanel ID="groupDetailsPopup" runat="server" RenderMode="Inline">
<ContentTemplate>
<div class="popup_wrapper">
<asp:LinkButton ID="lbcloseBTN" runat="server">Close</asp:LinkButton>
matt
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
the css:
.popup_wrapper {
width:100%;
height:300px;
background-color:red;
}
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire