New module: Views Two Column Table
on
December 18, 2009
New module: Views Two Column Table
For a project I've been working on recently, I needed the ability to have a two column table layout in Views. The idea was to place the field label in the first column, and the field data in the second. I had tried achieving the same layout using the unformatted default layout with some CSS, but was unable to get the label and field data to line up correctly, and so eventually wrote a views plugin to achieve the effect using tables.
The screenshot below shows what the final result looks like.

Project page: http://drupal.org/project/views_two_column_table
Drupal version: 6.x












A List Apart described a while back[1] how to float SPANs within DIVs for aligned labels within a form. Did you try this technique before resorting to tables?
[1] http://www.alistapart.com/articles/practicalcss/