The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript For JavaScript disabled visitors… Re: For JavaScript disabled visitors…


You should start with your page having a .no-js class attached to the html tag. Then when your JS kicks in, it replaces that with ‘.js’. This is pretty common practice these days and will happen automagically if you are using modernizr.

Then in your CSS you can do this:

.no-js body { display: block; }