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 does font weight mean in css?
How to style the first line of a paragraph as a uppercase ?
Is css faster than xpath?
What is difference between css2 and css3?
What's the difference between resetting and normalizing css?
How do I make my grid responsive?
What is the use of media types in css?
Why does my content shift to the left on some pages (in ff)?
Why we use xpath instead of css?
Explain opacity in css3?
What is the use of box-shadow in css?
What is css in coding?
What is a contextual selector in css?
What is div tag in html?
What is css rule?