You can see an example here: http://alboard.free.fr/adrien/test.html
The layout is based on horizontal scrolling (the red element). But I want the top part to be fixed (the blue element).
If the user resizes the viewport, a vertical scrollbar will appear. If at this point the user scrolls down, the red element will go up while the blue element will remain fixed. This breaks the layout (the red element overlaps with the blue element).
Is it possible to make the blue element fixed horizontally but scrollable vertically?
I know there are javascript solutions based on onscroll. But there's always a latency between the moment the user scrolls and the moment the element's position adapts to the new offset.