471,075 Members | 706 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

Need a groupbox in web application

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

Aug 25 '06 #1
2 6226
Saranya wrote:
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>
Aug 25 '06 #2
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>

"Saranya" <sa****************@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
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

Aug 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mr.Clean | last post: by
reply views Thread by Mark Johnson | last post: by
5 posts views Thread by MFC | last post: by
5 posts views Thread by Minfu Lu | last post: by
4 posts views Thread by TJS | last post: by
4 posts views Thread by Paul Bromley | last post: by
8 posts views Thread by johnmmcparland | last post: by
reply views Thread by Claes Wedin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.