Ben C said:
Well, according to the orthodoxy, that _is_ for page layout which is why
you do it by changing only the CSS (e.g. floating the list items or
making them inline, but leaving the HTML alone).
And in that case you are changing the HTML for "presentational" reasons
which is what makes people uneasy.
Yes, indeed, I hear this clearly and have for some time, notwithstanding
the impression that some people get. But I have a plan to make people
less uneasy.
The difficulty is how to get the various 'first principle' ideas in this
business to be understood. In usenet posts, it is not easy because it
needs *many things* to be said and who is going to listen? And they tend
to be said at different times and in different contexts. To get out of
this difficulty and raise the level of coherent presentation I am some
way into a few pages on the matter which I will stick on a server soon.
However, you might be interested in a snippet of how I present the
differences in how people can see the content/style separation.
1. There is the presentation that belongs to the element intrinsically
as part of its semanticity
2. There is the presentation that authors are free to impose.
The content/style separation practice that I am a fan of is the
separation of intrinsic (semantic) presentation from extrinsic
presentation (job for the author CSS).
Paragraphs are dead simple. As long as there is any member of the set of
a small range of vertical spaces or suitable pauses between the blocks
of contiguous or continuous sentences, humans see them as paragraphs.
This styling is *intrinsic*. The width, the colour, the background, the
relation to pictures, other divisions containing menus is *extrinsic*.
Headings are recognised by being a bit bigger or bolder or louder and/or
at least standing alone. If the styles for these basic features are
absent, there is no semantic content to separate out from anything. Try
reading my article on the drug laws at:
<
http://dorayme.netweaver.com.au/drugLaws_sans_dpr.html>
which should be 100% html kosher. Great content (as distinct from
style)? Not! Or should I say, pity it is almost complete gibberish?
This is the fantasy of those that think there is something practically
left over from the presentation - worthy content. I expect that they
will complain that I have deliberately sabotaged the article's
presentation or is it the content I have sabotaged? In that case,
perhaps they might like to explain how I could have turned off all the
default CSS or browser inbuilt coded default styling?
Indeed, the situation is much much worse than I show there. At least the
words follow each other along the lines and the sentences go in a
natural order and there is no funny 'positioning' after classing each
para to jumble things up even more!
It is incredible to me that more people do not see that some basic
presentation is part and parcel of the specialist semantic tools in HTML.
Anyway, to address your remark above more particularly - and this
following is not too easy for me to convey and will be hard to quite
catch on to without some reflection by readers - consider the business
of an HTML table and the conditions under which we would say that
authors are making 'presentational decisions'.
I want to distinguish here two types of presentational decisions that an
author can make about tables. It is hard to see what could be content as
distinct from presentation with a table because a table is so obviously
presentational! What could sensibly be identified as its content? I
think a way can be found by taking very seriously the distinction I made
above between intrinsic and extrinsic.
Let us take a perfectly proper and uncontroversial candidate for the
HTML table: A list of goods as against a list of prices, prices being
able to be matched across rows or across columns.
Well, now hang on a minute! Which is it to be? Is it to be across rows
or across columns? Is the decision to do one rather than another a 'page
layout decision'?
Well, not in the sense that where to put the table on the page is a page
layout decision. Not in the sense of what pretty background colour to
put in alternate cols or rows or the whole table. Not in the sense of
how cool the border styling should be. With me so far?
I say we *can* discern the content. It is the set of presentational
possibilities that allow a human user to discern the relationship
between the list of goods to the list of prices. The set is just one
little ol' thing. The members of this set are more than one but not by
any stretch of the imagination as many as the members of the set that
make up the extrinsic possibilities.
In this way we can home in on some roughly intelligible content. The
main members of such a simple table's content are the vertical and the
horizontal alternative layouts. The horizontal is not a different
content to the vertical under this interpretation. Both are as good as
each other in respect to conveying the information about the lists. With
me so far?
The set of other stylings, pretty pretty, aesthetic positioning etc, are
much greater in members by comparison. One set is the intrinsic styling
set and the other is the extrinsic styling set. On my account the
difference between content and styling for a table is something that can
be accounted for and it explains why it is important to get author
styles out of the table and separate into CSS sheets.
The default styles will take care of the meaning, the content, the
intrinsic presentation. Author CSS is the job of all other
presentational requirements, all the 'beyond the call of duty' ones and
the 'lets get really cool' ones.
Now to come back to the impression that using a table for a list is a
presentational decision, my answer is no, it is not. Because a table is
a way of organising lists. A one row or one col table for an unordered
list is not wrong in itself. Nor is a two col one for an ordered list.
Why? Because there is a content. The content is that intrinsic
presentation. It just so happens that tables have this nature to be able
to do this naturally. Can't be done with one <p> with default styles.
Can be done with ULs and OLs and should be in general because these are
beaut flexible specialist tools whose defaults are human recognisable.
Now when asdf and Nige and others ask tricky questions that make it seem
that if you put a list in the form of a table it is *just* for
presentational reasons, my reaction is: hello! All semantic content is
presentational so you better have another objection, a deeper one. Plus
a table is a device to communicate lists, it is not a paragraph or an
empty thing like a div or a frog or Roger Rabbit.
I have hurried along with the last few paras here, there is a lot more
to be said. But I guess I better stop. I have been meaning to post this
for at least a day!
Nice to know that you are sympathetic with some of my thoughts in this
matter. Naturally, I do not expect agreement with all the above! I'd