CSS: position:fixed inside of position:absolute
You mentioned in the comments that OpenLayers uses CSS transforms. That being the case: the element with fixed positioning will become relative to the element with the transform – not relative to the viewport Take a look at the spec: The Transform Rendering Model Specifying a value other than ‘none’ for the ‘transform’ property establishes … Read more