Displaying divs without any content in them?

patlat

New Member
There are two questions.[*]Firstly, if there is no height set on divs, and there is no elementcontained inside them, won't they display at all?[*]Secondly, depending on the first question, if I want to display adiv to be 90% of the body height and centered both horizontally andvertically, even if there is no content inside of it, what is thecss required?
 
Back
Top