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 |
What is * used for in css?
Is it possible to create border as a image in css3?
What are pseudo-elements?
What is gradient and explain its types?
What is cascading communication?
What is css1 css2 css3?
What are css functions?
Can style sheets and html stylistic elements be used in the same document?
Which property is used to increase or decrease how bold or light a font appears?
Explain css3 animations?
Which browsers are webkit?
How can html elements be styled having specific attributes?