On 28.10.2009, at 10:15, Martin Schmidkunz wrote:
Just a note, fieldset *must* have id and all ids in html page (not only in fieldset but all) must be unique for valid xhtml code.
Thanks for the note!
Sorry, but as I know, there is no requirement for IDs in fieldsets. Could you provide a source for this information? My google research was negativ. Thanx :-)
If you want to use headlines in a form, use <fieldset>. Form elements are separated by putting each form element into a single paragraph.
What is advantage of usage <p> over <div>?
I`d like to pass that question to an expert :-) Robert, could you please comment on this? Thanks!
1. I would say, it's correct from the semantic point of view. It's a common way to do it. 2. <p> has standard behaviour which allows me to write less CSS :-D IMHO it makes the code more readable. A never ending <div>-structure is much harder to scann -visually- then a form => fieldset => p => whatEver hierarchy. Does this answer your question? Salut, Robert
Cu,
Martin
--- Martin Schmidkunz User Experience Specialist mschmidkunz@novell.com +49 (0) 911 740 53-346 --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --- Novell® Making IT Work As One™
--- Robert Lihm, Webdesigner - openSUSE Boosters Team SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg Tel: +49-911-74053-0 - rlihm@suse.de ____________________________________________________________ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ____________________________________________________________ SUSE - a Novell business -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org