W3C home > Mailing lists > Public > www-style@w3.org > May 2003

Re: Font definition

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 29 May 2003 21:00:24 +0100 (BST)
Message-Id: <200305292000.h4TK0ON06265@djwhome.demon.co.uk>
To: www-style@w3.org

> What about every other value? Wouldn't it be great to be able to

The same principle applies.

* declare "variables" at the top of a stylesheet and reference them where
* needed. Color schemes are the example that spring to mind.

You may mean the bottom.  Assuming the same cascade rules are applied,
later definitions will take precedence over earlier ones.  One could
limit their scope to a single file, to get round that, but I suspect
you might actually want to have the definitions in one file and the
main rules in another.

I suspect you are thinking in standard designer "I must totally control the
user experience" mode, whereas CSS has a fundamental rule that the user
has last say.

This basic idea has been proposed and rejected several times over the last
few years.

[ 190 character wide line re-wrapped to sensible width ]
Received on Thursday, 29 May 2003 16:52:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:21 GMT