Let’s say I want to layout my page like this:
Label: <inputField> Label: <inputField>
Label: <inputField> Label: <inputField>
<-------------------- LINE ------------------>
Label: <inputField>
Label: <inputField>
Label: <inputField>
Label: <inputField> <inputField>
<-------------------- LINE ------------------>
<button> <button> <button> <checkbox>
I would do it using <table> for layouting the form objects and <hr> for the lines.
But I’m not sure if this is a “nice” solution. (I don’t like all the tables beeing generated…)
Shoud I better use <div> elements for this layout?
Or how would you do it?
With a form, you can style the
labelsand theinputs. You should do it that way.EDIT
The quick and dirty version. Adjust as necessary.
http://jsfiddle.net/jasongennaro/XzhDd/