Need a groupbox in web application

S

Saranya

hi friends

i want to perform a similar control as that of a group box in my web
application.i m not at all comfortable with panel,html grid layout how
to achieve this

plz tell
 
R

Ray Booysen

Saranya said:
hi friends

i want to perform a similar control as that of a group box in my web
application.i m not at all comfortable with panel,html grid layout how
to achieve this

plz tell

<table border="1">
<tr>
<td>
Your content here
</td>
</tr>
</table>
 
K

Ken Cox [Microsoft MVP]

Hi Saranya,

You can use the Fieldset tag and legend tags in HTML to create a Groupbox.

See the page code below.

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Create a Groupbox with Fieldset</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<fieldset class="eventFieldset">
<legend class="legend">Using the Fieldset Element </legend>
<table class="virtualEvents">
<tbody>
<tr>
<td>
<input class="radio" name="group" type="radio"
value="1" /></td>
<td>Use the Legend Tag! </td>
<td>
<input checked="checked" class="radio"
name="group" type="radio" value="0" /></td>
<td>Creates a Groupbox in HTML! </td>
</tr>
</tbody>
</table>
The FIELDSET element allows authors to group thematically
related controls and labels. Grouping controls makes it easier for users to
understand their purpose while simultaneously facilitating tabbing
navigation for visual user agents and speech navigation for speech-oriented
user agents. The proper use of this element makes documents more accessible.
<br />
<br />
Reference:
http://www.w3.org/TR/html4/interact/forms.html#edef-FIELDSET</fieldset>
</div>
</form>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top