Sets whether an element is rendered on the page.
Setting visibility to hidden reserves the space for the element on the page but hides it from view.
Collapse applied to tables, removes the table row or column and allows the space it to be filled by other rows or columns. For other elements collapse, acts like hidden.
See also Display
- Live Example
- Play with the code in the textarea below.
- collapse, hidden, inherit, visible
- Default value
- Introduced in CSS version
- Applies to elements
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
See the full list CSS properties and browser support: CSS Properties