html - Is it possible for the container to occupy 100% screen height for any desktop screen size? -
i trying make container occupy complete height of desktop screen.
i can set height of divs
pixels , occupy reasonable height.
but if viewed on large screens, bottom of container visible, empty space.
can make container occupy complete height screens?
what need sticky footer.
html { position: relative; min-height: 100%; } body { margin: 0 0 100px; /* bottom = footer height */ } footer { position: absolute; left: 0; bottom: 0; height: 100px; width: 100%; }
Comments
Post a Comment