Re: Font definition

> 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 UTC