![]() | |
#51
| |||
| |||
|
|
"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html> kirjoitti viestiss?:Xns97B8DD4DC1D6httpwwwneredbojiasco (AT) 208 (DOT) 49.80.251... snip If it's tabular data, use table. It's that simple. If table is just there to do layout certain way when data is _NOT tabular_, don't, there are almost certainly better ways to do that layout. A chessboard grid is not tabular data, it's structured data. There is a difference. And where did I say it is? Incase it escaped you what I meant above. Translation: (spell it word by word if meaning still happily escapes from you) If it's tabular data, use table. It's that simple. And data in it meaning _ANY_ data, not just some silly chess stuff. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#52
| |||
| |||
|
|
So tell me again why CSS needs to define the tabular relationships in the data, |
#53
| |||
| |||
|
|
On Wed, 03 May 2006 10:05:44 +0200 Johannes Koch <koch (AT) w3development (DOT) de> wrote: | In many browsers the CSS table presentation model _is_ used for | presenting table/tr/td etc. That's the default rendering. A new feature that does the same thing as the old feature? |
|
The relationship of data to each other when in a table is fixed. Is CSS tables trying to change that? |
|
I still see no point in having this in CSS unless there is something different (and hopefully better). |
#54
| ||||
| ||||
|
|
phil-news-nospam (AT) ipal (DOT) net wrote: On Wed, 03 May 2006 10:05:44 +0200 Johannes Koch <koch (AT) w3development (DOT) de> wrote: | In many browsers the CSS table presentation model _is_ used for | presenting table/tr/td etc. That's the default rendering. A new feature that does the same thing as the old feature? HTML does not the same as CSS. HTML defines structure, CSS suggests presentation. |
|
The relationship of data to each other when in a table is fixed. Is CSS tables trying to change that? No, you can change the appearance with CSS. |
|
I still see no point in having this in CSS unless there is something different (and hopefully better). CSS defines the presentation characteristics used in the default rendering of table/tr/td elements. Just like CSS defines a font-weight property that is used (value bold) in the default rendering of HTML's strong element. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#55
| |||
| |||
|
|
phil-news-nospam (AT) ipal (DOT) net wrote: So tell me again why CSS needs to define the tabular relationships in the data, CSS _does not_ define tabluar relationships. It just defines presentation characteristics. E.g. adjacent blocks with "display: table-cell" have the same height. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#56
| |||
| |||
|
|
On Wed, 3 May 2006 14:23:28 +0300 "W?rm" <nomailstodragon (AT) north (DOT) invalid wrote: | | "Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html kirjoitti | viestiss?:Xns97B8DD4DC1D6httpwwwneredbojiasco (AT) 208 (DOT) 49.80.251... | | <snip | |>> If it's tabular data, use table. It's that simple. | |>> If table is just there to do layout certain way when data is _NOT |>> tabular_, don't, there are almost certainly better ways to do that |>> layout. | |> A chessboard grid is not tabular data, it's structured data. There is a |> difference. | | And where did I say it is? Incase it escaped you what I meant above. | | Translation: (spell it word by word if meaning still happily escapes from | you) | | If | it's | tabular | data, | use | table. | It's | that | simple. | | And data in it meaning _ANY_ data, not just some silly chess stuff. This still leaves open all the arguments about whether some data is, or is not, tabular data. You're saying if it is tabular data, put it in a table ... that's fine. You didn't say if it's not tabular data, what to do or not do. But then you say "_ANY_ data", so I guess that leaves it open to use a table for anything when the semantics effects of a table is what is desired. |
#57
| |||
| |||
|
|
The whole point of my original post was to gleen feedback about what you (et al) thought of my version of the grid. Instead I get nonsense. |
#58
| |||
| |||
|
|
phil-news-nospam (AT) ipal (DOT) net wrote: But how is it that the CSS capability is having certain people tell me to not use TABLE/TR/TD/etc in HTML? If you have tabular data, use table, caption, col, colgroup, thead, tfoot, tbody, tr, th, td. If you don't have tabular data, use appropriate markup. Additionally, if you want the non-tabular data to be styled like a grid (equal height etc.), then use the CSS table model. |
|
E.g. DocBook defines an element called 'simplelist' (<http://www.docbook.org/tdg/en/html/simplelist.html>), which may be presented as a grid: apple banana bread cherry hazelnut mango orange pear potato tomato This is not really tabular. What is it that mango has in common with banana and tomato that differs from hazelnut, orange and pear? What OTOH does mango have in common with hazelnut, orange and pear that differs from banana and tomato? There are no row and column relations. It's just a 2-dimensional presentation of a 1-dimensional list. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#59
| ||||||
| ||||||
|
|
And I bet you also use hammer to drive in screws, instead of using screwdriver. After all, IT can be done. |
|
You are making issues from anything just because you wanna argue and not use elements that have proper semantical meaning. |
|
Like in your linux page, those links, they are LISTS of links so use <ul><li><a href="">..</a></li>...</ul structure for those. Those lists had image in top if I recall right, like a heading, so maybe use heading for those, etc. Just because you try to twist something to be tabular data when it obviously is not, it don't make it "proper use of tables". |
|
Use elements that have proper _SEMANTICAL_ meaning. If you got tabular data it's table, for a LIST it is a list etc. When you do not have any element that has proper semantical meaning for something, go for DIV or SPAN. Just keep it simple. |
|
Do not make issues just because you wanna argue. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#60
| |||
| |||
|
|
But I'll talking about it briefly, anyway. I'd like to have a COLUMN orientation version of that, which would come out like this: snip There are some things where this would work better, such as a list of files in a folder/directory. But it would be style ... something to decide how to present. Does CSS have a way to say to list stuff this way? |
![]() |
| Thread Tools | |
| Display Modes | |
| |