recursive_acronym
recursive_acronym

Reputation: 3031

Is this use of tables proper, in webpage layout?

I understand table are used to display data that is suited to a table format. Something that occurs to me is forum websites. They largely seem to use tables to display the list of forums, thread count, last post, etc. Is this a justifiable use of table?

For example ruby-forum.com

Upvotes: 0

Views: 42

Answers (2)

Blender
Blender

Reputation: 298176

My rule of thumb is if it contains more than two columns, use a table. Two column designs (like the Table of Contents here: http://diveintohtml5.ep.io/) are very feasible with floats, and work quite well.

Anything more than two will be basically impossible to create. Look at a common forum layout (like VBulletin, phpBB, etc.), and you can see why a table is used.

Yes, it is.

Upvotes: 1

Dustin Laine
Dustin Laine

Reputation: 38503

I would say so, the W3C definition:

The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.

This is definitely data, and belongs in a table format.

Upvotes: 1

Related Questions