Home › Forums › JavaScript › For JavaScript disabled visitors… › Re: For JavaScript disabled visitors…
August 10, 2012 at 4:21 pm
#107703
TheDoc
Member
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; }