adspace


deference between display and visibility property of CSS

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know when my thread pool work item has completed?

1001


Why am I getting an invalidoperationexception when I serialize an arraylist?

971


Explain element .net mobile with example? : Microsoft dot net mobile

1053


difference between Response.write,server.transfer and also which one is used when ?

1981


Different types of authentication modes in .net framework ?

1066


I can't be bothered with cas. Can I turn it off?

1019


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

2401


How does an appdomain get created?

1028