Sometimes groupbox similar to winform needs to be implemented on the web, and a good solution has not been found on the internet for a long time, so it is hard to find it. record it and use it for sharing with you.
Method 1:
<Fieldset>
<Legend> about Silverlight </legend>
<P>
Silverlight is a cross-browser, cross-platform plug-in that provides the next-generation. Net-based media experience and rich interactive applications for the network. Program . Silverlight provides flexible programming models, supports Ajax, VB, C #, Python, Ruby, and other languages, and integrates them into existing network applications. Silverlight provides fast and low-cost transmission of high-quality video information for mainstream browsers running on Mac or windows.
</P>
</Fieldset>
Method 2:
<Asp: Panel id = "Panel1" runat = "server"
Groupingtext = "personal information" Height = "50px" width = "266px">
<Table cellpadding = "3" cellspacing = "0" style = "height: 44px; color: #999999;">
<Tr>
<TD style = "width: 81px" align = "right"> · name: </TD>
<TD align = "Left"> June </TD>
</Tr>
<Tr>
<TD style = "width: 81px" align = "right"> · No.: </TD>
<TD align = "Left" type = "option" text = "option"> 370043808 </TD type = "option" text = "/option">
</Tr>
</Table>
</ASP: Panel>