How would you create a Fancy Panel which applies extra styles?
<p>I would like a FancyPanel Control that automatically applies styles the content in it, for example</p>

<pre><code>&lt;asp:FancyPanel runat="server" id="pnl1"&gt;
    &lt;Header&gt;
      Header Text
    &lt;/Header&gt;
    &lt;Body&gt;
        //any regular aspx markup
    &lt;/Body&gt;
    &lt;Footer&gt;
        Footer Text
    &lt;/Footer&gt;
&lt;/asp:FancyPanel&gt;
</code></pre>

<p>So basically when this gets rendered I can now wrap everything in the header in a div with a bold text style and add rounded corners (I don't need advice for styling, just the FancyPanel side of things, an empty div is good enough). All the Header, Body and Footer need to be able to accept regular server controls to be embedded in them.</p>

<p>How do I create this type of control?</p>

<p>Thanks!</p>
