1. Home
  2. Computer Science MCQs
  3. Cascading Style Sheets - CSS
  4. Which position value removes an element from normal flow…

Added 2 Nov 2026

Which position value removes an element from normal flow and places it relative to its nearest positioned ancestor?

  1. absolute Correct answer
  2. sticky
  3. relative
  4. static

Correct answer

A. absolute

13 views

MCQSEXAM

Explanation

position: absolute takes the element out of the flow and positions it relative to the nearest ancestor with a position other than static. relative offsets the element but keeps its space.

Reference

Asked in: NTS, Web Developer Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cascading Style Sheets - CSS MCQs

Practise all Cascading Style Sheets - CSS MCQs

Similar MCQs