Which of the following is the best way to center a div element?
Correct Answer: Apply 'margin:0 auto' to the element you want to center.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
CSS Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More CSS MCQ Questions
Which of the following styles is valid?
Which statement is correct given the following? box-shadow:30px 20px 10px 5px black;
Output of the following code?
What is the best method to select all elements except for the last one in an unordered list?
Suppose there are 16
To create a border of 3-pixel width, which css declaration would you use?
The id selector is used to specify a style for
Which property controls the additional space between the selected element(s) border and its content?
By which of the following is a declaration terminated?
Block elements can be aligned to center by setting the left and right...