Results 1 to 9 of 9
Thread: Your Opinions RE form markup
Oct 4, 2011, 02:37 #1
- Join Date
- Jun 2008
- 0 Post(s)
- 0 Thread(s)
Your Opinions RE form markup
I'm questioning my 'judgement' with regards to form markup.
For the last few years i've been using dls to contain my forms, with the dts containing the labels and the dds containing the inputs with a dd with the class of btns containing the submits, etc.
<dl> <dt><label for="input">Label</label></dt> <dd><input type="text".... (you get the idea) <dd class="btns"> ... form submits here ... </dd> </dl>
I've been looking at admin/CMS templates recently on themeforest and noticed that the vast majority of them use divs or tables to contain the forms.
Personally I detest the table method as its too rigid and doesn't allow the pages to flow naturally on smaller resolutions and I think tables are used far, far too much for the wrong purposes.
The div method isn't too bad, but not ideal.
What do you guys think? What's your preferred method?
Do you have any views related to my 'method'?
Durham based Web Developer