What should form controls be placed inside of?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chanshaw
    New Member
    • Nov 2008
    • 67

    What should form controls be placed inside of?

    Should form controls be placed in tables or divs? I'd assume a table if you were doing a form, I just want to check and make sure, thanks!
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    It does not matter. Both will work.

    Comment

    • chanshaw
      New Member
      • Nov 2008
      • 67

      #3
      Ok, so according to today's standards either is fine?

      Comment

      • eWish
        Recognized Expert Contributor
        • Jul 2007
        • 973

        #4
        I like using in a div rather than a table. I also like to make use of the fieldset, label and legend attributes. If you are writing compliant markup then your stuff should validate whether you are using tables or div.

        --Kevin

        Comment

        Working...