Search
 
SCRIPT & CODE EXAMPLE
 

HTML

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;
}
Comment

PREVIOUS NEXT
Code Example
Html :: how to use a text area for a model kendo mvc 
Html :: zk wrap listbox in horizontal scrollbar 
Html :: HRECURS - Hello Recursion 
Html :: force line label no wrap 
Html :: player 
Html :: How to add background color in specific region using HTML 
Html :: html text not editable 
Html :: timezone picker html 
Html :: travel blog “guest post” 
Html :: vim terminal to add data in each line with file open 
Html :: img tag in html 
Html :: html beautifier 
Html :: meta og tags 
Html :: h2 html 
Html :: elementos linea html 
Html :: CLI configuration File in terraform ? 
Css :: css image to white 
Css :: Hide calendar icon 
Css :: css peek not working 
Css :: how to contain an image within a div 
Css :: remove underline from link css 
Css :: stop selection css 
Css :: gradient text 
Css :: mat slide toggle change color 
Css :: how to prevent text from breaking css 
Css :: css circle 
Css :: bootstrap col no gaps 
Css :: how to allow scroll in div 
Css :: separar letras en css 
Css :: css change text 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =