CSS Visibility Vs Display

by rBellantoni 9/16/2009 12:32:00 PM

These are often confused and people are unsure of which one they should use, but the key difference between the two is that Visibility merely hides whether you can see the element or not, the element is still actually taking up space on the page you just can't see it. The Display property when set to none will actually take the element out of the layout of the page so it does not take up space at all.

Tags:

Comments

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  November 2020  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2020

Sign in