Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Luigi Donatello Asero
February 21, 2005, 1:47 am
rate this thread
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.
Luigi ( un italiano che vive in Svezia)
1. Table headers <TH> are nothing to do with CSS.
2. You could answer this by looking at the HTML specs at
HTML has no relation to MySQL databases or anything similar. Any naming
convention you choose would be entirely for you own convenience.
- Luigi Donatello Asero
February 21, 2005, 4:08 am
On Mon, 21 Feb 2005 01:47:12 GMT Luigi Donatello Asero wrote:
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
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
Which can probably be done just as easily in CSS.
For some interesting layouts of tables see
No. Still current.
No. CSS affects presentation. The headers model is about structure and
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.
Wrong. Check the HTML spec and you'll see it right there.
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.
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.
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
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor