News
AFAIK, CSS cannot affect the DOM tree. So, display: none just says the element should not be displayed, not that it should cease to exist. Style/structure separation and all that.
jsFiddle is the perfect solution; it provides a custom environment (based on user selections) to test (or fiddle with) your JavaScript, HTML, and CSS code right inside your browser.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results