I'll add a question here and maybe learn something...
I still use ancient tables for one simple reason - alignment. With a table, a column of field labels are uniform width, and the inputs are all left aligned. Nice and pretty. No explicit width directive (or any style for that matter) required.
How, with legends and inputs, and without hardcoded element widths, can you achieve this same result?
S
On Jun 13, 2012, at 6:53 AM, Dragan Espenschied wrote:
> I agree, tables are ancient practice, and because webpy uses them I never
> bothered to use the built-in form functions. Would love to see this changed.
>
> Am 13.06.2012 03:09, schrieb
>> I edited my form.py to render with fieldsets and legends rather than
>> tables. Would anyone else be interested in this? It's (arguably)
>> better HTML practice, would there be any interest in moving this into
>> the main version of webpy? I'm happy to contribute if there's
>> interest. If not, well, no worries :)
>>
>
> --
> http://noobz.cc/
> http://digitalfolklore.org/
> http://contemporary-home-computing.org/1tb/
>
> --
> You received this message because you are subscribed to the Google Groups "web.py" group.
> To post to this group, send email to we...@googlegroups.com.
> To unsubscribe from this group, send email to webpy+unsubscribe@googlegroups.com.
Look at the source of this very simple example:
http://www.csskarma.com/lab/contactForm/
Am 13.06.2012 16:26, schrieb Shannon Cruey:
> I'll add a question here and maybe learn something...
>
> I still use ancient tables for one simple reason - alignment. With a table, a column of field labels are uniform width, and the inputs are all left aligned. Nice and pretty. No explicit width directive (or any style for that matter) required.
>
> How, with legends and inputs, and without hardcoded element widths, can you achieve this same result?
>
> S
>
>
>
> On Jun 13, 2012, at 6:53 AM, Dragan Espenschied <d...@a-blast.org> wrote:
>
>> I agree, tables are ancient practice, and because webpy uses them I never
>> bothered to use the built-in form functions. Would love to see this changed.
>>
>> Am 13.06.2012 03:09, schrieb dou...@gmail.com:
>>> I edited my form.py to render with fieldsets and legends rather than
>>> tables. Would anyone else be interested in this? It's (arguably)
>>> better HTML practice, would there be any interest in moving this into
>>> the main version of webpy? I'm happy to contribute if there's
>>> interest. If not, well, no worries :)
>>>
>>
>> --
>> http://noobz.cc/
>> http://digitalfolklore.org/
>> http://contemporary-home-computing.org/1tb/
>>
>> --
>> You received this message because you are subscribed to the Google Groups "web.py" group.
>> To post to this group, send email to we...@googlegroups.com.
>> To unsubscribe from this group, send email to webpy+unsubscribe@googlegroups.com.