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

RE: Font definition

From: Matthew Fletcher <fletcherm@business1st.uk.com>
Date: Thu, 29 May 2003 11:00:12 +0100
Message-ID: <ACD217E6A92DA84FABE46143198468B6228156@srv3.Office.B-1St.Com>
To: <www-style@w3.org>

What about every other value? Wouldn't it be great to be able to declare "variables" at the top of a stylesheet and reference them where needed. Color schemes are the example that spring to mind.

-----Original Message-----
From: David Woolley [mailto:david@djwhome.demon.co.uk]
Sent: 29 May 2003 07:57
To: www-style@w3.org
Subject: Re: Font definition

> I only worry because many of my stylesheets have many repeated elements in 
> long stylesheets, that are basically just three or four different 
> collections of fonts (and often, properties) scattered through many disparte 
> elements.

The way that CSS handles this is to have one invocation of the font and
multiple selectors on the left hand side of the rule.   I.E. you assign
elements to properties, not so much properties to elements.

However, I would have reservations about a page that used more than two
font-faces, or otherwise used large numbers of different attribute
Received on Thursday, 29 May 2003 07:40:28 UTC

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