
Signature
Yucca, http://www.cs.tut.fi/~jkorpela/
> This reminded me of Alan Flavell's "CSS1 and the Decorative HR",
> http://ppewww.ph.gla.ac.uk/~flavell/www/hrstyle.html
> which explains how complicated the issue is.
Thanks for the plug ;-)
To be honest, it explains how complicated the issue _was_ at the time
that I wrote it: as the preface says, it was devised in the hope of
getting something that worked also in IE4, NN4.* etc.
Nowadays I would probably prefer to shield the older browsers from
most of the CSS, and use a more straightforward, spec-conforming
stylesheet to get the effect in more recent versions. After all,
it's only meant as a cosmetic device, and when the chips are down
the details of the presentation are meant to be optional.
> Personally I think using something like
> <div><img alt="End of section." src="deco.gif"></div>
[quoted text clipped - 3 lines]
> adequate alt attributes is more important than being theoretically
> puristic about not using "presentational tags".)
I'm not going to argue with your basic thesis there - but perhaps with
the detail: it would be helpful if you said directly what "adequate"
alt attribute you would consider acceptable in such a case?
In interpreting an <hr>, I presume that a speaking browser would be
expected to insert a longer than usual pause, or something of that
kind?
Charax - 29 Dec 2003 18:13 GMT
> Nowadays I would probably prefer to shield the older browsers from
> most of the CSS, and use a more straightforward, spec-conforming
> stylesheet to get the effect in more recent versions. After all,
> it's only meant as a cosmetic device, and when the chips are down
> the details of the presentation are meant to be optional.
Alan,
This is an intriguing approach. Can you point me to a source of info on how
to shield earlier browsers from CSS? I still have a lot of traffic from
Version 4 browsers (and, alas, even earlier versions, but I have stopped
trying to support them).
Your web page on HR substitution was very helpful.
Thank you,
Chris Hopkins
www.parthia.com
Jukka K. Korpela - 30 Dec 2003 00:24 GMT
>> Personally I think using something like
>> <div><img alt="End of section." src="deco.gif"></div>
[quoted text clipped - 9 lines]
> "adequate" alt attribute you would consider acceptable in such a
> case?
Well, things like "End of section." Words that you would use if you
read some text aloud and wanted to indicate major divisions, or changes
of topic, using some explanatory words. At
http://www.cs.tut.fi/~jkorpela/html/alt.html#hr
I even suggest a verbose explanation like
alt="End of page content proper. Contact information follows."
The point is that more information is needed than in visual
presentation, where the user can more or less draw conclusions from the
overall appearance and from small things like that fact that a
horizontal line is near the end of a page.
> In interpreting an <hr>, I presume that a speaking browser would be
> expected to insert a longer than usual pause, or something of that
> kind?
That's what HTML specifications have suggested, and it is a natural
expectation. In a sense we lose that possibility when we don't use
<hr>, but the explanatory words are like a long pause filled with
metainformation. It's a pity that we cannot effectively suggest a
different tone of voice for it, or a pause, using CSS.

Signature
Yucca, http://www.cs.tut.fi/~jkorpela/