Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The main ‘gotcha’ with CSS positioning is that a lot of rules won’t work unless the parent element also has a position propertyCSS is full of history with lots of complicated ways of trying to manage position and layout information. The best thing I can see is to ignore almost all of it and instead use single methodology which is the grid layout which have been supported by all the major modern browsers since 2017.