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 the function of the css clear property?
How do I have links of different colors on the same page?
What are the 3 parts of a css rule?
What is css backface-visibility property?
Define property?
What are the different elements of css box model?
What are the different versions of css?
Who created css?
What is webkit browser?
Which property is used to set the width of the outline?
What is the purpose of the z-index and how is it used?
How do I make my grid responsive?
What is nav used for?
Can a div have multiple classes?
Why css is called cascading?