- From: David Woolley <david@djwhome.demon.co.uk>
- Date: Mon, 18 Nov 2002 22:48:37 +0000 (GMT)
- To: www-style@w3.org
> Is there anyway, through *client side code*, to change the entire > reference to another CSS? This isn't really on topic as it is a document object model question about implementations/authoring. Looking at the relevant DOM specification, suggests that one must delete the link element and insert a new one to achieve a change; there is no replace procedure. There are no specific semantics associated with modifying the href parameter, although a link only instantiates a style sheet when both href and type have been set for the first time. Actually this makes sense as one otherwise has problems replacing a CSS sheet with an XSLT one. This is all legacy stuff as XML processing instructions should be used.
Received on Tuesday, 19 November 2002 01:43:47 UTC