I have a header div that is stationary, doesn't move, and a content div that contains the rest of the data overflow:auto. The purpose: the content is a table of data (multiple columns) and the header div is the same table with column definitions and it allows the reader to easily identify the column definitions in the header without having to scroll back up.
The problem is that when the the content of the content div extends the width of the window, the header doesn't scroll horizontally with content div. This misaligns the header div with the content div when the user scrolls horizontally.
I would like my header div and content div to scroll horizontally in sync. I'd also like the scroll bars to extend the whole window height and width and have them attached to the window's bottom or right edge respectively.
The 2 divs are child nodes of the BODY tag. And here are their CSS attributes:
/* new CSS to position fix the column header */
This Code is specific to each report, since the header height differs from report to report.