<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
div {
position: relative;
background-color: lightgreen;
width: 700px;
}
.main {
height: 300px;
overflow: hidden;
overflow-y: scroll;
}
header {
position: fixed;
width: 700px;
z-index: 1;
background-color: green;
}
header a {
display: inline-block;
padding: 20px 30px;
color: #ffffff;
text-decoration: none;
}
.content {
margin-top: 90px;
}
.anchor {
display: inline-block;
}
h1 {
padding-left: 20px;
}