How to center align a div inside another div?
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 |
How do I center my header?
How to use class selectors to differentiate tag instances in css?
What is hgroup?
Why css is called cascading?
What is style sheet and its types?
What is Descendant Selector?
Why is an external style sheet beneficial?
What is a universal selector in css?
What is normalizing css?
What are the newly introduced text related features in css3?
Explain the concept of tweening.
Which property is used to create a small-caps effect?