Answer Posted / hrpynux@gmail.com
Use the "inline-block" value of the display property to display the inner <div> as an inline element as well as a block. Set the text-align property on the outer <div> element to center the inner one.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is VH/VW (viewport height/ viewport width) in CSS?
How can we group heading elements in html?
What are the necessities of using html forms?
How to apply css to iframe?
how can imported style sheets be linked? Explain with the help of an example?
What does webkit mean in css?
What is z index in css?
What is gradient in css3?
Explain rwd.
Why css is used in html?
What is a fully responsive website?
What is cascading in hibernate?
What is a clearfix?
What is the difference between padding and margin?
What is the meaning of excise duty?