I have a box which contain a simple header and footer. The problem is that appears a scrollbar at the bottom which I don't wont. I know that is very stupid as question but I don't figure out how to fix it.
.box{
width: 100%;
height: 100%;
}
.header {
background: tomato;
position: absolute;
top: 0;
width: 100%;
height: 5%;
}
.footer {
background: lightgreen;
position: absolute;
bottom: 0;
width: 100%;
height: 5%;
}
<!DOCTYPE html>
<html>
<title>Test</title>
<head>
<link rel="stylesheet" href="Style/StyleSheet.css">
<script type="text/javascript" src="Script/Script.js"></script>
<title>Test</title>
</head>
<body>
<div class="box">
<header class="header">Header</header>
<footer class="footer">Footer</footer>
</div>
</body>
</html>