![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
In comp.infosystems.www.authoring.stylesheets Alan J. Flavell flavell (AT) physics (DOT) gla.ac.uk> wrote: | Oh, sure: long-winded HTML (i.e in this case with a class= on every | damned table cell) is also no problem to anyone who can write a | program to spew it out. But it's more a matter of taking a little | pride in what one extrudes out onto the world wild web - - and I'm | sure you really feel that way yourself, despite your occasional | remarks that might be interpreted to suggest otherwise :-} I'd rather put the class on the TABLE element just once instead of having it on each and every TD element. |
|
Of course if each _column_ in a multi column table needs to be styled in a slightly different way, that gets harder. I saw some things that looked like it could still be handled by specifying instance numbers in CSS. |
#22
| |||
| |||
|
|
Alan J. Flavell wrote: You're showing no indication of listening. In particular to the principle of separation of content from presentation, as designed into the HTML/CSS design. I am fully aware of the separation of content & presentation. |
|
However it seems that you are not very aware of some of the practical implications of working with a large team of coders. |
|
And if you store that class declaration as a constant, then all you have to do is change that single constant to change the way the site renders. uh-uh, so next week you'd be happy to code stuff like: .r { text-align: center; } and .blue { color: yellow; } Seems that you're the one not listening. If the change were to be made, it would be made on the server side, by changing a constant definition so that it would render as class="c" or class="yellow" |
#23
| |||
| |||
|
|
On Sat, 29 Apr 2006, phil-news-nospam (AT) ipal (DOT) net wrote: In comp.infosystems.www.authoring.stylesheets Alan J. Flavell flavell (AT) physics (DOT) gla.ac.uk> wrote: | Oh, sure: long-winded HTML (i.e in this case with a class= on every | damned table cell) is also no problem to anyone who can write a | program to spew it out. But it's more a matter of taking a little | pride in what one extrudes out onto the world wild web - - and I'm | sure you really feel that way yourself, despite your occasional | remarks that might be interpreted to suggest otherwise :-} I'd rather put the class on the TABLE element just once instead of having it on each and every TD element. This thread seems to have lost its way. I was following-up to a suggestion about marking rows or columns as "odd" or "even" so that they could be styled distinctively. You can't do that by merely sticking a class on the whole table. |
dd selectors which worked in|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#24
| |||
| |||
|
|
I could also argue that certain things, like the colors of a Chess board, are content, not style. |
and the initial and new|
|| hexadecimal EBB o-o decimal 3771 |
#25
| |||
| |||
|
|
That's not the point of CSS. The programmers should not be involved with the client side stuff at all. All they should be doing is the server side stuff that generates the HTML that the stylesheet decorates, and javascript (if applicable) enhances. |
#26
| |||
| |||
|
|
On Sat, 29 Apr 2006, Tony wrote: Alan J. Flavell wrote: You're showing no indication of listening. In particular to the principle of separation of content from presentation, as designed into the HTML/CSS design. I am fully aware of the separation of content & presentation. You're not showing it much... However it seems that you are not very aware of some of the practical implications of working with a large team of coders. Out here we aren't tied-down by the shortcomings of your internal process: |
#27
| |||
| |||
|
|
phil-news-nospam (AT) ipal (DOT) net writes: I could also argue that certain things, like the colors of a Chess board, are content, not style. You could argue, but you couldn't make a point. Squares on a chess board are identified by the number of the row and the letter of the column. Their colors are totally irrelevant even for a beginner. |
#28
| |||
| |||
|
|
Adrienne Boswell wrote: That's not the point of CSS. The programmers should not be involved with the client side stuff at all. All they should be doing is the server side stuff that generates the HTML that the stylesheet decorates, and javascript (if applicable) enhances. I agree in principle. In practice, the fact that I have to provide HTML, javascript & CSS to five developers, all on a deadline, means that I can't always stop what I'm doing to provide them with new classes for something they're working on, without holding someone up (and causing them to miss deadlines). So I provide convenient shorthands for those times. I PREFER to use CSS in the proper manner, but classroom theory doesn't always hold up when it meets with real-world pressures. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#29
| |||
| |||
|
|
Sun, 30 Apr 2006 21:31:33 +0200 from Eric B. Bednarz <bednarz@fahr- zur-hoelle.org>: phil-news-nospam (AT) ipal (DOT) net writes: I could also argue that certain things, like the colors of a Chess board, are content, not style. You could argue, but you couldn't make a point. Squares on a chess board are identified by the number of the row and the letter of the column. Their colors are totally irrelevant even for a beginner. Oh? What about "the queen starts on her own color" and "a bishop always stays on its own color"? |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#30
| |||
| |||
|
|
Sun, 30 Apr 2006 21:31:33 +0200 from Eric B. Bednarz <bednarz@fahr- zur-hoelle.org>: phil-news-nospam (AT) ipal (DOT) net writes: I could also argue that certain things, like the colors of a Chess board, are content, not style. You could argue, but you couldn't make a point. Squares on a chess board are identified by the number of the row and the letter of the column. Their colors are totally irrelevant even for a beginner. Oh? What about "the queen starts on her own color" and "a bishop always stays on its own color"? |
|
Yes, it's _possible_ to frame those rules in different ways, but the use of color is the most natural. |
![]() |
| Thread Tools | |
| Display Modes | |
| |