deference between display and visibility property of CSS



deference between display and visibility property of CSS..

Answer / Kamalkant

The 'display' and 'visibility' properties in CSS are used to control the appearance of elements on a webpage, but they have different effects.nn- Display: The 'display' property determines whether an element is rendered or not. Its possible values include 'none', 'block', 'inline', etc. When set to 'none', the element will not be visible and take no space in the layout.nn- Visibility: The 'visibility' property only affects the element's visibility without affecting its position in the layout. Its possible values are 'visible' (default), 'hidden' (makes the element invisible but still takes up space), and 'collapse' (removes an inline-level element from the layout, similar to 'display: none').

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

Define cache coherency and how is it eliminated? : Dot net architecture

1 Answers  


what are the fundamental and common properties of .net controls?

1 Answers   Six Sigma,


how to set the startup position of the form?

1 Answers   Six Sigma,


Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?

1 Answers  


HttpHendler and HttpModules

1 Answers   PCS, Sopra,


What is difference between Desktop, Client Server & Web based applications?

1 Answers   Infogain,


Difference between throw exception and rethrowing ?

1 Answers  


How can I create a application?

1 Answers  


Define domestic architecture artifacts? : Dot net architecture

1 Answers  


Explain the race around condition? : Dot net architecture

1 Answers  


What is difference between .net and visual studio?

1 Answers  


Explain the five stages in a dlx pipeline? : Dot net architecture

1 Answers  


Categories