I remember CSS classes like col-row, col-left, col-right, etc. Basically <tr>
and <td> elements were replaced with <div class="col-row"> and <div
class="col-left"> - which made no sense at all. It was a lot of markup to do
nothing more than create a table.
Table layout is NOT evil - it is ideal for laying out columns and rows (like
forms).
CSS can be used to make tables look cool too. I'd rather see Ajax efforts put
into "smart" table headers that, when clicked, change the sort order of the
table.
-Adrian
David E Jones <[EMAIL PROTECTED]> wrote:
I did some work on this years ago doing a "prototype" of sorts in the
newcustomer.ftl page. This is for single type forms only, as for list
and multi forms a CSS layout doesn't make sense (given the tabular
nature of that layout).
The important CSS classes are form-row, form-label, and form-field.
I don't know if this is the most elegant way to do it, but it seems to
work pretty well and has been there for years. I believe the styles
are only in the ecommain.css file at the minute.
-David
On May 31, 2008, at 1:38 PM, Anil Patel wrote:
> Hi,
> There has been some momentum recently to add Ajax/Effects goodies
> to HTML rendered using Screen/Form widget. I think as a part of this
> effort we should consider moving away from FORM Layout using html
> tables. The form layout using flexible html structures like div and
> CSS can be made look COOL easily.
>
> Is this doable?
>
> Anybody interested in giving implementation tips?
>
> Regards
> Anil Patel
>
>
>