Semi hierarchical data and "correct" html
-
I need to present data with the following structure:
+-------+--------+-----+-----+------------+
| Kalle | Anka | 1 | A | Ankeborg |
| | | 2 | B | |
| | | 3 | C | |
+-------+--------+-----+-----+------------+
| Arne | Weise | 1 | Y | STockholm |
| | | 2 | X | |
+-------+--------+-----+-----+------------+What would be the most "correct" way to do this according to html and css standards etc? It is tabular data but two of the cells contains lists. My first thought was to simply flatten the data and make a TR for each list element, thus making this made up sample into 5 TR where some of the fields are blank. But are there other alternatives? would it be correct to use ul/il elements inside the cells for the lists? bullet lists with css formatting inside the list cells?
Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com
-
I need to present data with the following structure:
+-------+--------+-----+-----+------------+
| Kalle | Anka | 1 | A | Ankeborg |
| | | 2 | B | |
| | | 3 | C | |
+-------+--------+-----+-----+------------+
| Arne | Weise | 1 | Y | STockholm |
| | | 2 | X | |
+-------+--------+-----+-----+------------+What would be the most "correct" way to do this according to html and css standards etc? It is tabular data but two of the cells contains lists. My first thought was to simply flatten the data and make a TR for each list element, thus making this made up sample into 5 TR where some of the fields are blank. But are there other alternatives? would it be correct to use ul/il elements inside the cells for the lists? bullet lists with css formatting inside the list cells?
Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com