1.

What are the difference between "display:none" and "visibility:hidden" in CSS?

Answer»

VISIBILITY:hidden : Ithides an element, but it will STILL take up the same space as before. The element will be hidden, but still, affect the layout.

display:none : It HIDES an element as well as doesn't PRESERVE the space.



Discussion

No Comment Found