What is the difference between visibility:hidden; and display:none.

Total Post:83

Points:415
C#
 520  View(s)
Ratings:
Rate this:
  1. Post:83

    Points:415
    What is the difference between visibility:hidden; and display:none.

    visibilty:hidden hide the element but still occupy the space. But display:none is not occupy the space because its not available in the page.

    Or in simple words visibilty:hidden preseves the space and display:none does not preserve the space.

      Modified On Dec-14-2017 01:51:21 AM

Answer