Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: not2easy
property works. Each element is like a cardboard box. You are asking for the outer box (#list) to be closed, but an inner box (#show1) to be open. The browser actually does exactly what you ask it to do, but since the outer box is closed, you still cannot see the contents of the inner open box.
This value causes an element to not appear in the formatting structure (i.e., in visual media the element generates no boxes and has no effect on layout). Descendant elements do not generate any boxes either; the element and its content are removed from the formatting structure entirely. This behavior cannot be overridden by setting the 'display' property on the descendants.
is a perfectly viable option, and appears to also be the best option in this case.
is by far the cleanest and easiest to read solution I would be able to think of.