
Originally Posted by
gjh42
First off, to get the column organization you want, you will need to sort the attributes like
Juice flavor 1 [dropdown]
Meal bar flavor 1 [dropdown]
Dessert flavor 1 [dropdown]
Juice flavor 2 [dropdown]
Meal bar flavor 2 [dropdown]
Dessert flavor 2 [dropdown]
Juice flavor 3 [dropdown]
Meal bar flavor 3 [dropdown]
Dessert flavor 3 [dropdown]
Then you can use stylesheet rules to force new lines after every third attribute, giving a "column-like" layout.
Juice flavor 1 [dropdown] Meal bar flavor 1 [dropdown] Dessert flavor 1 [dropdown]
Juice flavor 2 [dropdown] Meal bar flavor 2 [dropdown] Dessert flavor 2 [dropdown]
Juice flavor 3 [dropdown] Meal bar flavor 3 [dropdown] Dessert flavor 3 [dropdown]
For the "Column x" headings, you could use read-only attributes.
The readme describes the pattern of style rules to produce columns. Among others, these
#wAttrib-11 {clear: left; float: left;}
#wAttrib-12 {float: left;}/*this will sit beside #wAttrib-11*/
adjusted to the actual ids will make the columns.
{clear: left; float: left;} will start a new line, and let the next attribute sit beside this one.
{float: left;} will let this attribute sit beside the previous one.
Bookmarks