Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is the use and basic difference between none, display , block properties of div
Posted

 
Share this answer
 
There are so many values of the Display css property. YOu can find the reference here:
http://www.w3schools.com/cssref/pr_class_display.asp[^]

However, here are a couple of tips from my side which you may find helpful:

Display = none will hide your div, rest values will show the div.
If you need the div for layouts then use Display = block.
If you need to give your div fixed height and width then use Display = block
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900