To make childdiv vertically center of given code, what should the "display" property of parentdiv and childdiv be? #parentdiv { width: 200px; height: 400px; vertical-align: middle; } #childdiv { width: 100px; height: 50px; }
Vertical Center
Correct Answer: display:table-cell; for parentdiv and display:inline-block; for childdiv
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More CSS MCQ Questions