How can I remove below extra space? Below is my HTML mark that I am trying. There is a gap below the image, but it doesn't seems to be a padding/margin.
<!DOCTYPE html>
<html>
<head>
<style>
.backcss {
background-image: url("https://cdn.pixabay.com/photo/2013/08/25/14/40/wall-175686_960_720.jpg");
background-color: #cccccc;
height: 100vh;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
display: block;
padding: 0px !important;
margin: 0px !important;
background-position: center, center;
}
</style>
</head>
<body>
<div style="display: block;" class="backcss">
<h1 style="color:white">Hello World!</h1>
</div>
</body>
</html>
Thanks.
body { margin: 0; }
? – Michael Coker<div class="backcss">
, it's the body. – Darren