wsg  

Re: [WSG] Styling forms

Thomas Thomassen
Thu, 07 Feb 2008 10:36:17 -0800

While I see your point, what I find to be troublesome is that Label and Input are inline elements. While it's easy to wrap the Inputs in Labels and make the Labels block elements, with just plain HTML and no CSS that means a form's elements will end up all in one long line.

Now, one can assume that most users will be using a user agent applying CSS, so it might not be much of an issue. But I don't see <p><td> as similar to <label + input><li>.


----- Original Message ----- From: "Mike at Green-Beast.com" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Thursday, February 07, 2008 6:07 PM
Subject: Re: [WSG] Styling forms


Still need some extra elements to organise them.
Such as lists.

I don't know why that would be. Proper use of form elements is the only organizational support needed. In my opinion, use of any other non-form elements on form's isn't necessary, or advantageous and, if not careful, can actually take away from the form.

Just like a <p> doesn't need a <td>, a <label + input> combo doesn't need an <li>.

Old conversation, I know, but I just had to chime in.

Cheers.
Mike Cherim
http://green-beast.com/








----- Original Message ----- From: "Thomas Thomassen" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Thursday, February 07, 2008 11:05 AM
Subject: Re: [WSG] Styling forms


Fieldsets and Labels is present in HTML4 as well. Don't see anything new about that. Still need some extra elements to organise them. Such as lists. ----- Original Message ----- From: Joe Ortenzi
 To: wsg@webstandardsgroup.org
 Sent: Thursday, February 07, 2008 8:36 AM
 Subject: Re: [WSG] Styling forms


 Has anyone looked up the HTML 5 pages on form elements?


 http://www.w3.org/TR/html5-diff/


 http://www.w3.org/html/wg/html5/#forms


It's all fieldsets and labels... which makes more semantic sense than paragraphs, lists, and dd/dl


 JOe


 On Feb 6 2008, at 04:06, Steve Green wrote:


There may be specific cases where it would be right to mark up a form as a list, although I can't think of one. As a general rule it would be wrong.


The argument against marking up a form as a list is that a form is not a
   list. A form is one or more groups of form controls, and the fieldset
   element is the correct means by which form controls should be grouped.
Within a fieldset, paragraph elements should be used for individual form
   controls.


   Steve






   -----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On
   Behalf Of Michael Horowitz
   Sent: 06 February 2008 03:38
   To: wsg@webstandardsgroup.org
   Subject: [WSG] Styling forms


I've been looking at styling forms and I'm seeing some people mark them up as ordered lists and other using paragraphs. What are the arguments for the
   different markup types.


   --
   Michael Horowitz
   Your Computer Consultant
   http://yourcomputerconsultant.com
   561-394-9079






   *******************************************************************
   List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
   Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
   Help: [EMAIL PROTECTED]
   *******************************************************************






   *******************************************************************
   List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
   Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
   Help: [EMAIL PROTECTED]
   *******************************************************************




 Joe Ortenzi
 [EMAIL PROTECTED]
 www.joiz.com





 *******************************************************************
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 *******************************************************************

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************