Writing JavaScript specific CSS

Posted on Wed 22 April 2009 in JavaScript • Tagged with css, javascriptLeave a comment

In your html template or page add a nojs class to your html node and a script tag in the head section below your title changing the className to js:

In this very simple example all of your non-javascript users would see links with a class of myclass as red ...

Continue reading