Explain the difference between visibility: hidden and display: none?

Answer Posted / hrpynux@gmail.com

hidden hides the element, but it still takes up space in the layout. display: none removes the element completely from the document. It does not take up any space, even though the HTML for it is still in the source code.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What effect would this piece of css code have? {Box-sizing: border-box;}

351


What are the different web fonts formats in css?

318


What is id selector?

378


What is latest javascript version?

320


What is cascading in hibernate?

351






Can you write css in html?

263


What is module in css?

408


What is counter reset in css?

318


What is CSS Box Model and what are its elements?

400


What is default box sizing?

337


Which property is used to change the face of a font?

381


What new futures added in css3 for borders and how browser support it?

325


What is css declaration?

360


How is the float property implemented in css?

312


Give an example of how you would use counter-increment and counter-reset in css to create automatic numbering within a webpage.

327