I'm currently facing an unusual situation. Take a look at the following image:
So, I have this ruler positioned at the top. To prevent it from scrolling off when I vertically scroll the content, I placed it outside the scrolling container. The issue now is that it doesn't scroll horizontally either. I actually need it to scroll horizontally in sync with the content container's scrollbar as I scroll the content vertically.
Any ideas on how I can achieve this?