DONT ADD ANYTHING HERE!

 1. A type of positioning in CSS which places items in an exact location on a 
  webpage, in relation to its parent element 
 2. A type of positioning in CSS which places items naturally, 
    one after the other, on a webpage 
 3. A type of positioning in CSS which places items relative 
    to where they normally are in relation to how things 
    normally flow on a webpage 
 4. A type of positioning in CSS which places items in an exact
    location on a webpage, in relation to the browser window 
Hover for Answers
  1. Absolute – 1
  2. Relative – 3
  3. Static – 2
  4. Fixed – 4
A. Absolute
B. Relative
C. Static
D. Fixed

Notes

  1. static
    1. HTML elements are positioned static by default
    2. Static positioned elements are not affected by the top, bottom, left, and right properties
    3. An element with position: static; is not positioned in any special way
    4. It is always positioned according to the normal flow of the page
  2. relative
    1. An element with position: relative; is positioned relative to its normal position
    2. Setting the top, right, bottom, and left properties of a relatively-positioned element will cause it to be adjusted away from its normal position
    3. Other content will not be adjusted to fit into any gap left by the element
  3. fixed
    1. An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled
    2. The top, right, bottom, and left properties are used to position the element
    3. A fixed element does not leave a gap in the page where it would normally have been located
  4. absolute
    1. An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed)
    2. However; if an absolute positioned element has no positioned ancestors, it uses the document body, and moves along with page scrolling
    3. Note: Absolute positioned elements are removed from the normal flow, and can overlap elements

References