W3C home > Mailing lists > Public > www-archive@w3.org > September 2001

Profile Style

From: Sean B. Palmer <sean@mysterylights.com>
Date: Wed, 19 Sep 2001 04:12:40 +0100
Message-ID: <01e001c140b9$466d9a40$f9d993c3@y0r1d9>
To: <www-archive@w3.org>
Why didn't I think of this before?

   @namespace xhtml url(http://www.w3.org/1999/xhtml);
   xhtml|head[profile="http://profile.org/#"] + * xhtml|em { color:
#170573; }

It works in latest versions of Mozilla/Netscape6; (fairly) CSS2 compliant
browsers. You'd have to set a "normal" stylesheet:-

   em { color: #170573; }

and reference it from the page as a stylesheet, and then prompt people who
are using a CSS2 complient browser to add the profile style to a user

Maybe it'd be a lot easier if people just embedded markup in different
namespaces in their XHTML... but oh, what MMIE type to serve it as?!

This has been another non-sensical late-night rant from...

Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Tuesday, 18 September 2001 23:15:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:42:02 UTC