1. 程式人生 > >How to make a GroupBox in website development by VS.NET2005

How to make a GroupBox in website development by VS.NET2005

Sometimes we need to make a GroupBox on my webpage.Using the HTML object(fieldset ,legend)  we can make it out!

source:

<fieldset style="HEIGHT:100px;BORDER-LEFT-COLOR:#000000; BORDER-BOTTOM-COLOR:#000000; BORDER-TOP-COLOR:#000000;  BORDER-RIGHT-COLOR:#000000"><legend style="text-align:left">mygroup</legend></fieldset>

Element :

fieldset :

Draws a box around the text and other elements that the field set contains.

legend:

Inserts a caption into the box drawn by the fieldset object.