Answers for "how to remove whitespace below my footer in html"

0

how to remove whitespace below my footer in html

body {
  margin: 0px;
  font-family: Arial;
  line-height: 20px;
}
#header {
  height: 20px;
  background: #222;
  color: white;
}
#content {
  min-height: calc(100vh - 40px); substract 40px since 20 are from header and 20 from footer
}
#footer {
  height: 20px;
  background: #222;
  color: white;
}
Posted by: Guest on August-15-2021

Code answers related to "how to remove whitespace below my footer in html"

Browse Popular Code Answers by Language