| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Structuring Table Headers|
I have some semi-complex data tables, and need ideas for structuring the headers:
the headers layout is like so:
Product : Sales value : commmission value : EPC
________: £...$...kr..:...£....$....kr... :
So the product and epc are straight forward, but the sales and commission have sub header columns for currency.
code is structured:
<th colspan="3">Sales Value </th>
<tr> <th>£</th><th>$</td><th>kr</th> <th>£</th><th>$</td><th>kr</th></tr>
but to my mind this is not tying the currency with the respective headers.
I'm not quite clear on what you're trying to do, but are you aware of the "scope" attribute for table cell headings? E.g. <th scope="col">. See Tables in HTML documents [w3.org] for more details.
thanks - i think my ascii diagram didnt really describe the issue very well, however I have found a solution.
As well as, or instead of, the sub headers I would prefix the prices in body of the table with the currency symbol. It would be cleaner and probably more readable without the sub headings ?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved