<script type=”text/javascript”>document.getElementsByTagName(‘html’)[0].className+=’js’</script>// In your Stylesheet
.js .myHiddenElement
{
display: none;
}
Now JS disabled browsers will see the content, and JS enabled browsers will hide it before the page is rendered by referencing the JS added class in the <html> tag.
Brilliant