asp.net - Groupingtext border does not cover all items inside the panel -
i have panel couple objects inside. when add text to groupingtext property frame displays full width of panel goes down 5px leaving of objects outside of frame. how force groupingtext frame cover full area of panel?
<asp:panel id="pnlleaddress" runat="server" groupingtext="legal entity address" style="z-index: 1; left: 50px; top: 250px; position: absolute; height: 50px; width: 400px"> <asp:textbox id="txtlename" runat="server" style="z-index: 1; left: 20px; top: 10px; position: absolute"> </asp:textbox> <asp:textbox id="txtlestreet" runat="server" style="z-index: 1; left: 20px; top: 40px; position: absolute"> </asp:textbox> <asp:textbox id="txtlecitystatezip" runat="server" style="z-index: 1; left: 20px; top: 70px; position: absolute"> </asp:textbox> <asp:textbox id="txtlecountry" runat="server" style="z-index: 1; left: 20px; top: 100px; position: absolute"> </asp:textbox> </asp:panel>
apparently in case panel rendered fieldset. try adding following style markup:
<style> #pnlleaddress > fieldset { height: 150px; } </style>
Comments
Post a Comment