#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    18
    Rep Power
    0

    Difference between display:none and display:hidden


    Hi,

    I am little bit confused with the css property of style="display:none;" and style="display:hidden;". I think both are doing same work. i want to know the nature of each properties this styles.

    Thanks.
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Hi,

    display : none completely "removes" the element, while visibility : hidden (I guess that's what you meant) preserves the space that the element would take.

IMN logo majestic logo threadwatch logo seochat tools logo