<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.1.16">
</HEAD>
<BODY>
Nice idea, tabed forms are something that could and probably would be made use of more often if there were a clean and simply way to do it. Using something like your example, how would one go about tweaking the visual properties of the tabs and the container, by applying css to the legend/fieldset?<BR>
<BR>
how would it be rendered, as one fieldset with multiple legends, each legend representing a tab?<BR>
<BR>
<BR>
On Mon, 2004-06-28 at 15:31 -0400, Matthew Raymond wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000"> I've thought up a simple way of doing tabs using <form> and </FONT>
<FONT COLOR="#000000"><fieldset>. Here's a simple example:</FONT>
<FONT COLOR="#000000"><form type="tabbox"></FONT>
<FONT COLOR="#000000"> <fieldset type="tab" id="tab1"></FONT>
<FONT COLOR="#000000"> <legend>Tab 1</legend></FONT>
<FONT COLOR="#000000"> <label>Name 1: <input type="text" name="name1" /></label></FONT>
<FONT COLOR="#000000"> </fieldset></FONT>
<FONT COLOR="#000000"> <fieldset type="tab" id="tab2"></FONT>
<FONT COLOR="#000000"> <legend>Tab 2</legend></FONT>
<FONT COLOR="#000000"> <label>Name 2: <input type="text" name="name2" /></label></FONT>
<FONT COLOR="#000000"> </fieldset></FONT>
<FONT COLOR="#000000"> <fieldset type="tab" id="tab3"></FONT>
<FONT COLOR="#000000"> <legend>Tab 3</legend></FONT>
<FONT COLOR="#000000"> <label>Name 3: <input type="text" name="name3" /></label></FONT>
<FONT COLOR="#000000"> </fieldset></FONT>
<FONT COLOR="#000000"></form></FONT>
<FONT COLOR="#000000"> The nice thing about the above example is that it degrades into a </FONT>
<FONT COLOR="#000000">few simple boxes with controls in them in IE and other UAs.</FONT>
<FONT COLOR="#000000"> Impressions?</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>