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

Choosing between stylesheets

From: Adam van den Hoven <hendrik_adam@hotmail.com>
Date: Wed, 28 Nov 2001 11:15:03 -0700
To: www-style@w3.org
Message-ID: <F170dOXMcMT30wNVn9K00018d21@hotmail.com>
Hey guys,

I want to be able to choose between two different stylesheets based on 
whether the browser supporst DOM2 or not. I had originally thought to use

document.write("<" + "link rel='STYLESHEET' type='text/css' 
document.write("<" + "link rel='STYLESHEET' type='text/css' 

but that doesn't seem to work. Any ideas on how to accomplish this?

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on Wednesday, 28 November 2001 13:15:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC