How to set <asp:Panel> width to 25% of content size
asp.net, c#
Solution
Define Panel like this:
<asp:Panel CssClass="CustomWidth" ID="MyPanel" runat="server"> </asp:Panel>
Then link to an external css stylesheet that set the following:
.CustomWidth{ width: 25%; }
Problem
Hello can someone tell me how to give panel.width a 25% of content size?