Here's a question that requires some logical thinking rather than technical expertise.
I've created a design where the header and footer are always fixed at the top and bottom of the window, respectively. However, the elements inside have percentage widths, causing the size of the header to change as the window is resized.
The problem I'm facing is that since the header is always in a fixed position, it ends up covering the content below it. Since I don't know the exact height of the header, I can't determine how much padding-top should be added to the content to prevent it from being covered by the header.
Any thoughts or suggestions on how to solve this issue?