I have a page here . There is a content pane and a content pane. I would like to focus the content and click on the content panel in the upper right corner. This behavior is already working.
However , the layout does not work as we would like when the page is cut. Ideally, the content will be placed on the right side of the screen, and a 5px space is maintained between the content and the content. However, for now, the content simply overlaps the content, which I don't want.
Is such a placement possible without resorting to javascript?
Edit: You may notice a scroll bar at the edge of the page. This scrollbar is not the body scrollbar, but div#main , so I don't want the content to scroll from the page.
source share