La frontière de l'asp:panel

Ce que je fais de mal dans cet extrait de code?? Je voudrais avoir une bordure autour de deux divs, mais je vois la ligne (rectangle sans contenu). Avez-vous une idée? Ce code est à l'intérieur de mon WebControl.

<asp:Panel ID="pan" runat="server" BorderStyle="solid" BorderWidth="1px" >
    <div style="width:18%; float:left;">
        <asp:Image id="img" runat="server" AlternateText="X" ImageUrl=""/>
    </div>

    <div style="width:78%; float:left;">
        <b><asp:Label ID="lblTitle" runat="server"></asp:Label></b>
        <br />
        <br />
        <asp:Label ID="lblDescription" runat="server"></asp:Label>
        <br />
        <asp:Button id="btnSet" runat="server" Text="Ustaw>"/>
        <br />
        <br />
        <asp:Label id="lblYouHaveCreditText" runat="server" Text="Masz kredytu na usługę"></asp:Label>
    </div>
</asp:Panel>
  • Avez-vous essayé BackColor="Transparent" pour l'asp:Panel?
  • Il ne fonctionne pas 🙁
InformationsquelleAutor Jacek | 2012-05-07