When content is initially hidden on load (ex. an accordion) with js
and CSS what’s the best technique to reference alternate CSS (possibly
an external 'sheet and not inline) to ensure the content is still
visible when js is disabled and still have, if possible, valid xhtml?
From what I’ve found the noscript tag seems to be the goto solution
and one hack I found is,
<head>
<object>
<noscript><link rel="stylesheet" type="text/css" media="screen"
href="css/noscript.css"/></noscript>
</object>
</head>
but this flies-in-the-face of W3 specs for a few obvious reasons and
throws (amazingly) only one error. I can live with this solution but I
would like it if there were a valid alternative. Anyone have another/
better suggestion?
Todd
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options