Home All Groups Group Topic Archive Search About

Need a groupbox in web application

Author
25 Aug 2006 7:01 AM
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

Author
25 Aug 2006 8:30 AM
Ray Booysen
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>
Author
26 Aug 2006 12:19 AM
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>

Show quote
"Saranya" <saranyarajagopa***@gmail.com> wrote in message
news:1156489290.580445.323500@i42g2000cwa.googlegroups.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
>

AddThis Social Bookmark Button