- From: Chris Lilley <chris@w3.org>
- Date: Mon, 28 Dec 1998 17:12:52 +0100
- To: Jelks Cabaniss <jelks@jelks.nu>
- CC: www-style@w3.org, bert@w3.org
Jelks Cabaniss wrote: > > Some people find it more convenient to use grouping for other > > purposes, and use a symbolic constant instead. E.g.: > > > > @define orange = #faa; > > > > H1 {color: orange} > > H2 {color: orange} > > H3 {color: orange} > > Why would using @define preclude grouping? Why couldn't you say: > > @define orange = #faa; ... > H1, H2, H3 {color: orange}; It doesn't preclude that; it just doesn't require it. The idea is to only need a single editing change if you want to adjust that color in a stylesheet, and be sure of hitting all occurences. Also, to isolate possibly different uses of the same color (which would likely be bad design anyway, but could happen). Its a maintainability convenience. -- Chris
Received on Monday, 28 December 1998 11:10:19 UTC