Re: Comments URI Proposal

>Wired has a more colorful colophon toward the end of each issue.
Careful about what you say about Wired. If you don't know why, see
http://earthspace.net/jargon/jargon_53.html#SEC60

>>My only worry is that using this system results in an unpleasant
experience
>>to the many many people who use older, non-css browsers, since they don't
>>hide the "experts-only" comments.
>
>There's going to be a serious divide between HTML 3.2 browsers (essentially
>NS/IE 3.0- and most other browsers) and CSS-capable browser for at least
>the next year or two. Dealing with the backwards-compatibility issues is
>one of my biggest headaches with trying to roll out CSS sites.
I think everybody here would agreee with that. In case anybody wants to work
around older browsers, here are some quick ways I have found to cope with
them:

**IE3**
getting IE3 to ignore a linked style sheet is easy:

<LINK rel=stylesheet href="..." >
<STYLE TYPE="text/css"></STYLE>

This will make IE3 ignore all style sheets (except inline).

**N4.04**
getting N4 to ignore style sheets is easy:
<LINK rel=stylesheet href="..." media=all>

N4 ignores anything with media=all

**GOOD BROWSERS**
If you want to ensure your code is not seen by parsers which apply strict
CSS parsing rules, simply use an invalid at-rule:

@ignore {  /* IE4 reads this, but true-to-spec readers will ignore anything
until the matching curly bracket */
     P { color: red }
}

**IE2?**
This may be useful (but I haven't tested it) - some microsoft browsers hide
everything inside a <COMMENT></COMMENT block.


George continues:
>Putting an HREF instead a comment tag is a bit unpredictable,
>so perhaps a colophon tag should use an
>an alternate way of specifying an HREF so that older browsers won't
>recognize the tag and therefore ignore it.


Huh? I don't understand what you are saying.

The way I understood the colophon idea is that at the end of the document,
we simply include something along the lines of...

<DIV CLASS=colophon>
    <P>This document uses <ACORNYM title="Cascading Style Sheets Level 2">
    <A HREF="http://www.w3.org/Style/">CSS2</A></ACRONYM>.
    It was written by Joe Bloggs and tested on the following browsers:
<UL><LI>IE4
    <LI>N4.04<LI>IE3<LI>Amaya<LI>IE2<LI>Lynx</UL>
    <P>Rendering problems? Please report bugs to <A
HREF="mailto:joebloggs@blackhole.net">Joe
    Bloggs</A>.
</DIV>

[sorry about any silly typos]
--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/S d- s+: a--- C++(+++)>$ U P L+ !E W++ N++ o? K? w++>+++ O- !M V- PS+
PE- Y+ PGP t 5+++>++++ X- R+++ tv b++(+++) DI D++ G e-(*)>+++++ h!()(--) y?
------END GEEK CODE BLOCK------

Received on Wednesday, 4 March 1998 18:34:40 UTC