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 purpose of cm measurement unit?
How to select all paragraph elements whose lang attribute has a value of exactly "fr"?
What are the advantages of inline styles?
What are the difference between "position:absolute" & "position:relative" in css?
What is a style sheet in editing?
What are the associate boarder image properties in css3?
Do any wysiwyg editor support the creation of style sheets? Any text-based html editor?
hot to specify the content box size of a block element?
Enlist the media types CSS allows?
How to overrule underlining Hyperlinks?
How to create rounded corners using css3?
How does the index function?
What are the advantages disadvantages of using css preprocessors?
What is flex value?
What's the difference between resetting and normalizing css?