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
Is flexbox part of css3?
How to use class selectors to differentiate tag instances in css?
What are the advantages and disadvantages of inline styles?
What is less and sass in css?
What css class do you use to span 12 columns on medium sized screens but only 6 columns on large screens in the latest version of bootstrap?
What is hgroup?
What is the use of cascading style sheets?
What is cascading in hibernate?
List the various font attributes used in style sheet?
What is font weight in css?
What are the difference between "display:none" and "visibility:hidden" in css?
What is a tag selector in css?
What is the css3 hsl() function?
Differentiate between the id and class.
What is latest version of css?