This is probably a dumb question, but I'm a js dummie, so forgive me.
The idea is I want to have a stylesheet for all users (both with and without
js), and override
some of those styles if the user has js. I tried the following, but it doesn't
seem to work:
<link href="nojs.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript" type="text/javascript">
document.write("<link href="js.css" rel="stylesheet" type="text/css"
media="screen" />");
</script>
</head>
Can you only use document.write in the body? And if so, is there another way to
accomplish
this?