- Description
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.
- Values
- collapse, hidden, inherit, visible
- Default value
- visible
- Introduced in CSS version
- 2.1
- Applies to elements
- All
- Inherited
- Yes
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties