Hi Ryan,

This isn't a dumb question, and is one that people often get confused about
when moving towards web standards.

While the correct way of presenting data like this in tables, it's more
important to do it correctly. That means using the right (symantically
correct) tags.

Anyway, in a nut shell, make sure this type of information is presented in a
table and use the <th>  element for all cells that should be read as
headings. If you don't like the bold centred look you can re-style it with
css. Following that, learn how to use the 'summary', 'header' and 'id'
attributes - They're essential to providing equal access to all users to the
data in your tables.

In this situation (tablular data) <th> is actually more appropriate than h1
- h6 as it provides a better reference/relevance to the data contained in
the table.

There are other elements such as caption, thead, tbody. But at least, make
sure you've mastered the above.

There have been some good presentations by Mark Stanton on this topic
recently, one at web essentials and the other at the last WSG meeting (see
you should have been there!).

hope that helps,

lisa



-----Original Message-----
From: Ryan Sabir [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 4:23 PM
To: [EMAIL PROTECTED]
Subject: [WSG] Table-style admin layouts


Hi all,

Is there a best-practice way to build an item display with multiple
columns, but without using tables?

What I want to do is build something like this:

Name     Price     Quantity     Edit    Delete
Apple     $5.00    25           [edit]  [delete]
Pear      $4.00     3           [edit]  [delete]
Banana   $12.00     5           [edit]  [delete]

But without cluttering the HTML with table layout data...

Or is this a case where its better to bite the bullet and just do it
in a table...?

I'm new here to please be gentle if this is a dumb question :)

thanks, bye!

-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to