Answer the question
In order to leave comments, you need to log in
How to shrink a block without wasting space?
The .fixed-bottom class presses a block (a block literally one line high) down the browser window, BUT if the height of the displayed one begins to exceed the height of the browser window, then it goes beyond the pressed block (for example, if the site is on the entire window and one line is written at the bottom, then it is overlapped by the pinned box), is it possible to pin the box down so that its top border is the bottom border of the browser window?
That is, the point is that when scrolling, the site footer is displayed completely ABOVE the pressed block, and not partially behind it.
Answer the question
In order to leave comments, you need to log in
set the bottom margin of the footer equal to the height of the pressed block
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question