What merge tag are you using currently to output the list items? If I missed that in a previous post of yours, I'm sorry. By default, the merge tag will output a table of the submitted values, just as you showed in your example. Here is the data from a submission I made with 3 columns (just one row.)
[html]
<table class='gfield_list'>
<thead>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>BBQ Ribs</td>
<td>BBQ Pork</td>
<td>BBQ anything really</td>
</tr>
<tbody></table>
Screenshot: http://minus.com/lbhNCR359FJpsm
Is that not happening for you?
If you want the output to look exactly like your gif, you will need to style the table output. You can target the table like this:
[css]
table.gfield_list {
/* styles for the whole table here */
}
table.gfield_list tr {
/* styles for each row */
}
table.gfield_list th {
/* styles for the header row */
}
table.gfield_list td {
/* styles for each data cell */
}
The styling you add will be added to your theme's stylesheet.
Posted 11 years ago on Saturday March 23, 2013 |
Permalink