Re: modular stylesheets.

Subject: Re: modular stylesheets.
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Thu, 4 Mar 1999 15:08:00 -0500
/ "Pawson, David" <DPawson@xxxxxxxxxxx> was heard to say:
| the default shows that only the direct inclusion is working.
| the remainder pick up the default.
| 
| Can anyone see where I'm going wrong please.
| 
| I'm unsure how the 'use' attribute is used on the style-specification

You're getting the expected behavior. (It sounds funny to say that,
since it clearly isn't the behavior that you expected ;-).

Because you have a default rule in your main style-sheet, there's
always a "match" there.  So Jade never goes looking in the stylesheets
that you use.

The use/external-specification model is most useful (er, no pun
intended) if you're overriding another stylesheet.  Think of it
this way, your main stylesheet says "Look, here are some special
things that I want you to handle. For everything else, go off
and use that other stylesheet over there".

Does that help at all?
                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@xxxxxxxxxx>      | Every day is a good day.--Yun-men
http://nwalsh.com/                 | 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread