Richard Czeiger wrote:
Can I get a consensus that this is actually the right way to do it?
It feels right, but I'd like the opinion of my venerable peers :o)
Looks right to me. Note that in a large site with a lot of form pages
(online banking, for example) putting meaningful IDs for all
!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group --
Looks like it's required to me and it's the same in both Strict and
Transitional DTDs.
I'm looking at the XHTML 1.0 Strict DTD right now and I see:
!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; |
] Semantic Form - Person's Title
Hi Richard,
I looked at your example. You need not use a fieldset for every
input. All you have to do is put the input inside the label, set the
label to block and a margin-left to the input; and save the fieldset
for a real field set. As for the title (Mr, Ms. etc
To Richard Czeiger:
That's one of the problems of copy paste :o) anyway, I thought it
was obvious that my code was just an example, maybe should have
preceeded it with pseudo-code, but just in case: never leave name=
in blank and never use a field id for a field :op.
This discussion is getting
venerable peers :o)
Now just have to figure out a way to style the legend properly.
Cheers,
Richard
- Original Message -
From: Micky Mourelo [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Friday, March 17, 2006 4:38 AM
Subject: Re: [WSG] Semantic Form - Person's Title
To Richard
If you a referring to the for/id issue, yes, that is the way. As for
the rest of the xhtml depends on what you want to achieve. But looks
ok to me.
**
The discussion list for http://webstandardsgroup.org/
See