Reputation: 41128
My CSS doesn't work so well when using it in ASP.Net it appear to use the background image only when there's actual content inside of the form. (It dynamically grows vertically).
Is there a way for me to specify the height of my ASP.Net form?
<form id="form1" runat="server" style="height:inherit">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<div class="Content">
<img src="../../Images/Logo.png" alt="Logo MiCompra" />
<H1>Bienvenidos a MiCompra!</H1>
<p>Bienvenidos a MiCompra. Compre lo que quiera, cuando quiera.</p>
<p>Bienvenidos a MiCompra. Compre lo que quiera, cuando quiera.</p>
</div>
</form>
Thank you!
Upvotes: 0
Views: 1965