Yes, that is true. To achieve the same results you do need display inline, 
text-align, plus width, so you do have a bit more CSS to write. But I just 
find tables to be such a pain that it's worth it, hahah.

Looks like this one is maybe better just left as-is.

On Wednesday, June 13, 2012 9:26:10 PM UTC+7, NSC wrote:
>
> 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 webpy@googlegroups.com. 
> > To unsubscribe from this group, send email to 
> webpy+unsubscr...@googlegroups.com. 
> > For more options, visit this group at 
> http://groups.google.com/group/webpy?hl=en. 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/mCFYt6ywENkJ.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to