W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: per-site user stylesheet rules

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Fri, 20 Aug 2004 16:12:55 +0200
To: "WWW Style" <www-style@w3.org>
Message-ID: <opsc1a3tasicz8n2@rijk-01.lan>

On Fri, 20 Aug 2004 01:48:26 -0700, L. David Baron <dbaron@dbaron.org>  


> I'm skeptical of the idea that user stylesheets will never be
> interchanged.

If there ever will be automated exchange mechanisms (like Opera's toolbar  
setups, or Mozillas extensions), privacy would become important. You could  
distribute a user style like this:

@-moz-document domain(mozilla.org)
   body {background: url(http://example.org/counter-image-moz) no-repeat  
bottom right;}

@-moz-document domain(opera.org)
   body {background: url(http://example.org/counter-image-opera) no-repeat  
bottom right;}

> (Also, someone might find a use for such a rule in author
> stylesheets, although the only good use case I can think of -- easier
> management of related rules -- isn't all that strong.)

I could use this to get rid of my current system, where different parts of  
my website use one basic style sheet and separately LINKed style sheets  
for the color scheme. Having all styles in one file might be easier to  
maintain, and easier than adding id="page-id" to the body element of pages  
that need separate styles.

The Web is a procrastination apparatus:    |  Rijk van Geijtenbeek
It can absorb as much time as              |   Documentation & QA
is required to ensure that you             |   Opera Software ASA
won't get any real work done.  - J.Nielsen |  mailto:rijk@opera.com M
Received on Friday, 20 August 2004 14:16:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:15 UTC