Home › Forums › CSS › Make footer of unknown height stick to bottom? › Reply To: Make footer of unknown height stick to bottom?
No, I don’t want it to be absolutely positioned (at least with respect to the viewport). Just a regular footer that scrolls with the content flow, but sits at the bottom of the page on pages where the content doesn’t fill up the whole page. Basically a version of https://css-tricks.com/snippets/css/sticky-footer/ but without specifying the height.
@jurotek: How would I know at what pixel points a bunch of text blocks/lists/paragraphs move to a new line (thus increasing the height of the footer), in every browser environment? Any such breakpoint seems to me like a “magic number” just waiting to break the layout. I guess I could be conservative and add a large gap just in case, but this would then add scroll on pages that shouldn’t normally have it..