[whatwg] Suggestion: Implementation of Tabbed Forms
Jerrett Taylor
jerrett at bravenet.com
Mon Jun 28 14:31:05 PDT 2004
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?
how would it be rendered, as one fieldset with multiple legends, each
legend representing a tab?
On Mon, 2004-06-28 at 15:31 -0400, Matthew Raymond wrote:
> I've thought up a simple way of doing tabs using <form> and
> <fieldset>. Here's a simple example:
>
> <form type="tabbox">
> <fieldset type="tab" id="tab1">
> <legend>Tab 1</legend>
> <label>Name 1: <input type="text" name="name1" /></label>
> </fieldset>
> <fieldset type="tab" id="tab2">
> <legend>Tab 2</legend>
> <label>Name 2: <input type="text" name="name2" /></label>
> </fieldset>
> <fieldset type="tab" id="tab3">
> <legend>Tab 3</legend>
> <label>Name 3: <input type="text" name="name3" /></label>
> </fieldset>
> </form>
>
> The nice thing about the above example is that it degrades into a
> few simple boxes with controls in them in IE and other UAs.
>
> Impressions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20040628/44fb302e/attachment-0001.htm>
More information about the whatwg
mailing list