W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Changing the CSS Href in NS 6/7?

From: Jennifer <Jennifer@kolyana.com>
Date: Mon, 18 Nov 2002 15:44:03 +0100
To: www-style@w3.org
Message-Id: <200211181544.03543.Jennifer@kolyana.com>
If I have a relative style sheet:
<link rel="stylesheet" href="CSS/styleSheet1.css" type="text/css">

Is there anyway, through *client side code*, to change the entire
 reference to another CSS?

I gave the link element an id and accessed it via getElementById to
 change it's HREF, but the result was problematic (buggy?). It would
 work repeatedly, except sometimes it would hang or leave certain CSS
 properties unchanged bewteen style sheets.

Received on Monday, 18 November 2002 09:44:18 UTC

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