The perils of 'display: none'

Friday, 16 November 2018

Synopsis

Cascading Style Sheets (CSS) have an attribute called ‘display’ which can be used to determine how a given element on a web page is shown ( www.w3schools.com/CSSref/pr_class_display.asp ). One of the possible values is ’none’ which means to hide the given element completely. But this is only applied at the web browser. It is an easy thing to do with any custom CSS that you may add to a theme in order to customise it. However, just because it is easy does not mean that it is the best solution. If you don’t understand the full implications then you might be surprised to learn that you’re actually just papering over a crack that is still there.

Post link on eLearningWorld: The perils of 'display: none' .