Single Choice
Easy
QWhich CSS property is used to set the margin for an element to be centered vertically?
ID: #8923
CSS Margins
123 views
Question Info
#8923Q ID
EasyDifficulty
CSS MarginsTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
To set the margin for an element to be centered vertically, you can use the margin-top and margin-bottom properties set to "auto".
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic