Anthony Brewitt's Web Design Blog

latest blog entries

Shopping Carts should be Lists?

I have always made the assumption that shopping carts are tabular data and that its ok to use a table tag for that reason, but thinking semantically they are a list of the items your buying and their parameters. So why not use a list. It validates with W3C’s XHTML validator and the coding is alot cleaner than most ecommerce websites.

I wondered for quite a while how to achieve this and firstly had divs and spans everywhere, then I looked at the data and realized that basically theres 3 lists of information; the product name, the quantity and the price.

Read More  21 comments