In the div, which spans about 1150px and requires scrolling down to see all its contents, there are two anchors positioned fixed at the top. As you scroll down, the anchors remain visible at all times.
However, my issue arises when I shrink the browser window width. I want the second anchor to move below the first one as space runs out, but currently, they overlap because the wrapping only occurs once the browser window physically reaches the anchors.
Removing the position fixed allows the anchors to wrap below each other as the browser window size decreases. It seems that fixing the y-axis without fixing the x-axis may be the solution.