Divs vs. Tables for Forms

Out of context: Reply #18

  • Started
  • Last post
  • 19 Responses
  • ukit0

    Despite all the talk about "should" do this etc, there will likely be zero actual layout issue with using tables. What we're really talking about is what is the "semantically correct" solution.

    And if you are viewing things in that light, using <ul> and <li> (or <dl>, <dt> and <dd>) makes the most sense since those elements are intended for this kind of data, whereas divs are generic.

    But again, not something that matters all that much in the real world. Divs, ul, or dl are all workable and will likely have zero impact on the client's experience if coded correctly.

View thread