Terry
11-07-2002, 06:01 AM
This is for ConfusedOfLife who asked if this is possible. It certainly is, and no hack, complex css or SVG required. All that is needed is two little known html form elements called FIELDSET and LEGEND. Here a simple html replication of ConfusedOfLife's screen shot:
<HTML>
<BODY>
<div style="width: 250px;">
<form>
<FIELDSET>
<LEGEND style="font-weight: bold;">Layout </LEGEND>
<P>Alignment:
<SELECT NAME="baseline">
<OPTION VALUE="server" SELECTED>Baseline</OPTION>
</SELECT>
</p>
<p>
Border Thickness:
<input type="text" name="thickness">
</FIELDSET>
</form>
</p>
</BODY>
</HTML>
I only discovered this a few weeks ago, haven't had the time to implement it yet. I found out about this from a webreference.com article on forms (perhaps the most in-depth I've ever seen):
http://webreference.com/html/tutorial13/20.html
Terry
<HTML>
<BODY>
<div style="width: 250px;">
<form>
<FIELDSET>
<LEGEND style="font-weight: bold;">Layout </LEGEND>
<P>Alignment:
<SELECT NAME="baseline">
<OPTION VALUE="server" SELECTED>Baseline</OPTION>
</SELECT>
</p>
<p>
Border Thickness:
<input type="text" name="thickness">
</FIELDSET>
</form>
</p>
</BODY>
</HTML>
I only discovered this a few weeks ago, haven't had the time to implement it yet. I found out about this from a webreference.com article on forms (perhaps the most in-depth I've ever seen):
http://webreference.com/html/tutorial13/20.html
Terry