Tables.

  • Thread starter Luigi Donatello Asero
  • Start date
L

Luigi Donatello Asero

I wonder whether the model using "headers" attributes which is shown on the
example
http://www.w3.org/WAI/wcag-curric/headers.htm
is updated or deprecated.
The last version of CSS is from the 25th of september 2004, isn´t it?
Does it affect the model which I mentioned above?


If the table had to be filled with data coming from a database, should the
id="" be the same as the name of the corresponding columns in the database
from which the data would be coming?
Thank you very much in advance for your answer.
 
O

Oli Filth

Luigi said:
I wonder whether the model using "headers" attributes which is shown on the
example
http://www.w3.org/WAI/wcag-curric/headers.htm
is updated or deprecated.
The last version of CSS is from the 25th of september 2004, isn´t it?
Does it affect the model which I mentioned above?

1. Table headers <TH> are nothing to do with CSS.
2. You could answer this by looking at the HTML specs at
http://www.w3.org/TR/html4/.
If the table had to be filled with data coming from a database, should the
id="" be the same as the name of the corresponding columns in the database
from which the data would be coming?

HTML has no relation to MySQL databases or anything similar. Any naming
convention you choose would be entirely for you own convenience.
 
R

Richard

I wonder whether the model using "headers" attributes which is shown on
the
example
http://www.w3.org/WAI/wcag-curric/headers.htm
is updated or deprecated.
The last version of CSS is from the 25th of september 2004, isn´t it?
Does it affect the model which I mentioned above?

If the table had to be filled with data coming from a database, should
the
id="" be the same as the name of the corresponding columns in the
database
from which the data would be coming?
Thank you very much in advance for your answer.

One of the more esteemed regulars who does not currently post, once did a
table thingy where he had captions on the top and bottom, and everything in
between scrolled.
I can't seem to find it at the moment so maybe someone else will kindly post
a link to it.

In the mean time, have a look at this http://porjes.com/table.html

FYI [headers] is not a valid attribute.
"headers" is the "h' in TH and should not be confused with an attribute.
Basically, a header is only presented a little differently outside of the
normal text.
Which can probably be done just as easily in CSS.

For some interesting layouts of tables see
http://www.html-helper.net/tutorial013.htm
 
S

Steve Pugh

No. Still current.

No. CSS affects presentation. The headers model is about structure and
accessibility.

No. The internal structure of the database has no relevance to the
table presented to the site visitors. After all the same database
table could be used to create many different HTML tables with very
different header fields.
FYI [headers] is not a valid attribute.

Wrong. Check the HTML spec and you'll see it right there.
"headers" is the "h' in TH and should not be confused with an attribute.

The headers attribute, as you know by now having gone off to check the
spec, is a way of telling the browser and hence the user which table
header cells, <th>, a particular table data cell <td> are associated
with. This is especially useful in complex data table where there are
multiple levels of headers.
Basically, a header is only presented a little differently outside of the
normal text.

Wrong. A header is a header. It's semantic meaning is quite different
to normal text and any difference of presentation is merely to
communicate that difference to the user.
Which can probably be done just as easily in CSS.

No it can't. A header is a header and text is text and no amount of
playing around with CSS can turn one into the other. CSS is designed
to be optional - the content remains the same regardless of what it
looks like.

Steve
 
D

dorayme

From: "Nico Schuyt said:
Organization: EuroNet Internet
Newsgroups: alt.html
Date: Mon, 21 Feb 2005 07:37:25 +0100
Subject: Re: Tables.


Maybe:
http://web.tampabay.rr.com/bmerkey/examples/nonscroll-table-header.html ?


Works well in Mozilla 1.3 on a Mac (OS 9).

But not in IE 5.1.6 at all. Scrolls ok, but so too does title (header).
Footer does not appear at all.
W for a browser (like one can in an ordinary spreadsheet)... most impressed!
will have to study this...

dorayme
 
W

woogiex1

Richard said:
That will work. That's basically what brucie did.
And this is another good esample why I trashed IE.
Firefox rules!

why would take coding advice from a perv?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,575
Members
47,207
Latest member
HelenaCani

Latest Threads

Top