Re: per-site user stylesheet rules

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

..

> 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