Our client is displaying the final site on a kiosk device that has a resolution of 1080 x 1920 pixels and has a portrait orientation. I’ve tried to build the site to match those dimensions exactly but for some reason, the div #footer is not locked to the bottom of the browser in the right way. When I view the site in a desktop browser and set the browser in responsive mode, the footer appears to be positioned correctly, but it falls apart when viewed in other resolutions that are larger.
Can someone help me determine where I have messed up?
One advantage of sticky over fixed is that it accounts for the space it takes up in the document flow. So you don’t have to use “magic numbers” in a margin on the main content to clear it, which is a common flaw with fixed header/footers.