My website all seems to work fine when I have javascript enabled but as soon as I disable it, the main page background renders fine but the actual content doesn’t display at all. I thought I had designed it in a gracefully degrading manner. Can anyone shed some light on why the content does not display with JS disabled?
Share
Your CSS on
#main_content(and other elements) havedisplay:none;set which hides the content by default.You then use javascript to display it. Without javascript, it stays hidden.