Positioning
A CSS property that sets how an element is positioned. Values: static (default), relative, absolute, fixed or sticky. Offset properties (top, right, bottom, left) take effect on non-static elements.
What it does: position: relative nudges the element using offset properties. The space the element occupied in normal flow is preserved. The header scrolls normally until its top edge hits 0 from the viewport top, then it sticks in place like a fixed element. z-index sets the stacking order. Higher values appear in front. It only works on elements with a non-static position. 'stack-order' is not a valid CSS property. The colon is required between the property name and its value. 'position absolute' without a colon is invalid CSS. CSS requires the number and unit to be joined with no space. '10 px' with a space is an invalid value and will be ignored.
Common mistakes: CSS declarations require a colon. It should be position: absolute; not position absolute;. 'absolut' is a typo. The correct value is position: absolute;.
Free printable worksheet with full answer key — or add this module to a journey and assign it to your class.
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
positionFill in the Blanks
Spot the Error
Create a free class, add this module to a journey, and track who's stuck.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
Practice this topic interactively, track progress, and unlock badges.
Start Learning Free →