Re: Changing the CSS Href in NS 6/7?

> 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