Css page typesetting with 1px gaps at the bottom of the page

there is a problem: leave 1px blank at the bottom without sticking to the bottom
page typesetting normally, html,body padding margin has been set to 0

Mar.04,2021

turn on debugging first to determine which two elements the gap is between. It should not be between body and the browser.


enter and space after the tag wraps.


I can only look at the picture and guess. But it looks like more than 1px

add:

to all containers
overflow: hidden;

try


according to experience, visual observation is the influence of text nodes. You add font-size: 0 to the parent element; try it (setting font-size on specific elements does not affect it)

Menu