I discovered the GroupingText property of the ASP.NET2.0 Panel control today. When the property is set, the control actually renders a <fieldset> tag to group child form elements together with a caption and a smooth cornered border. The caption itself is created using the <legend> tag. The browser is responsible for the appearance of the caption and labels I think it looks really neat in IE7.
↧