Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for a tag!

Status
Not open for further replies.

CooterBrown

IS-IT--Management
Aug 17, 2001
125
US
I saw a tag on w3schools.com the other day and now I cannot find it. What it did was encapsulate and put a border around some part of a form that you wanted to seperate from the rest of the page. I will do my best to recreate what it looks like below. If anyone knows the name of this tag I would appreciate it if you could pass it along.

It looked something like this:


_Title Here ______________
| |
| You can put text, |
| radio buttons, or |
| Whatever else you |
| want to enter here! |
| |
|________________________|

I hope someone can help.
 
You could also do pretty much the same thing with tables. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Hi cooterbrown,

The picture you made kind of looks like what is
Delphi called a groupbox. Try searching for that on
the site.

BobbaFet Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
Be a nice guy 'n press that little ol' button
VVV---(this one) for me ;-)
 
No i'm not looking for an inline frame. I'll try the delphi group box. Does anyone else have any ideas?
Thanks
 
Thanks for the help everyone but I found the answer somewhere else. For the life of me I couldn't think of the tag name and my illustration has room for improvement.

Here was the tag in case you were curious.

<feildset><legend>Put title here</legend>
In here you can add tables,
list,
control objects
or anything else you want.
</feildset>
 
I've never heard of that one! What broswers does it work in?
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I think what you are looking for is <fieldset> & <legend>
Here is an example:

<form name=CBForm><br>
<fieldset>
<legend><b>Make your selection(s):</b></legend><br>
<input name=CB01 type=checkbox> Checkbox01<br>
<input name=CB02 type=checkbox> Checkbox02<br>
<input name=CB03 type=checkbox> Checkbox03<br>
<input name=PB01 onclick=MyCBeval() type=button value=&quot;Enter&quot;><br>
</fieldset>
</form>
 
Oops! Sorry. I see you answered your own question.
 
The <feildset> and <legend> tags work in IE for sure. I haven't had the chance to test the compatibility with Netscape or others!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top