GeekInterview.com
Series: Subject: Topic:
Question: 6 of 41

Display:none and Visibility: hidden

What is the Difference between display:none and visibility: hidden?
Asked by: JohnBarry | Member Since Aug-2008 | Asked on: Aug 26th, 2008

View all questions by JohnBarry   View all answers by JohnBarry

Showing Answers 1 - 4 of 4 Answers
chennaiboy

Answered On : Oct 15th, 2008

View all answers by chennaiboy

display:none
browser will refuse this content

Visibility: hidden
browser will hide the content from the user visible.

  
Login to rate this answer.
Joshscorp

Answered On : Jun 30th, 2009

View all answers by Joshscorp

Display:none will hide the control on the webpage (hidden)

Visibility:hidden will not render the control on the webpage (not rendered)

  
Login to rate this answer.
roshansame

Answered On : Feb 3rd, 2010

View all answers by roshansame

Display:none and Visibility:hidden both are hide the content from web page, 


Visibility:hidden create the space in web page, Display:none is not, this property totally refuse the content in webpage.

Yes  1 User has rated as useful.
  
Login to rate this answer.
pankaj pandey

Answered On : Jan 13th, 2012

Visibility:hidden keep the placeholder in the page, Display:none does not keep.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.