Hmm I was thinking...shouldn't the catalog index page of an ecommerce site really be made up of list items? <li>

I was thinking of laying out our new catalog at work using unordered lists instead of several layers of tables (that wasn't me, I inherited this!)

However each of those items in the catalog might contain tables with tabular data so a <li><table>...</table></li> would have to be valid html syntax, is it?

2 answers

0
points

Pretty much a duplicate question, but I don't see any reason why that wouldn't work. You might end up with some difficult formatting issues, but I don't see why it won't work.

Great idea on the unordered list for a product listing. I think I'll try that on an e-commerce site I'm working on.

Answered about 7 years ago by Darryl Hein
0
points

Why shouldn't a catalog index be tabular data?

if it has columns and rows - object, description, page number, then it's tabular data and should go in a table.

no-one said you had to make it hard, tables done well for tabular data are the best way.

Answered about 7 years ago by Tony Crockford
  • @Tony I'm trying to avoid nesting tables. If someone is using a screen reader, don't you think they'd rather see a "list" of catalog items than a tabular representation of them? Andrew J. Leer about 7 years ago
  • I think they'd rather 'see' an organised layout - a simple list is one thing, but a complex list with multiple columns is probably harder to 'read' than a table. it's not easy to see inside your mind, so your catalogue may indeed be simple enough to layout as a list of tables, but why do a list of tables, when stacked (not nested) tables complete with summary, title, column and row titles etc would be simpler. http://www.webaim.org/techniques/tables/ Tony Crockford about 7 years ago