CIW
1D0-520 · Question #17
Rosa wants to position a paragraph 100 pixels below the top of the HTML document, and 100 pixels from its left margin. Which styles should she use?
The correct answer is C. position: absolute;top: 100px;left: 100px. See the full explanation below for the reasoning.
Question
Rosa wants to position a paragraph 100 pixels below the top of the HTML document, and 100 pixels from its left margin. Which styles should she use?
Options
- Atop: 100px; left: 100px
- Bposition: relative; top: 100px; left: 100px
- Cposition: absolute;top: 100px;left: 100px
- Dposition: absolute;margin-top: 100px;margin-left: 100px
How the community answered
(34 responses)- A15% (5)
- B6% (2)
- C76% (26)
- D3% (1)
Community Discussion
No community discussion yet for this question.