I'm coding a webpage using CSS and PHP. Whenever I add a new element it's pushed down to the bottom of the page. I thought it was a one time thing only affecting a paragraph so I added negative margins for it (not great practice, I know), but every element I add is getting pushed to the end of the page and I have to scroll to find it.

The paragraph below was the part getting pushed down, the login heading remained at the top, but when I tried adding more text after, it got pushed down as well.

```css
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@500&display=swap');
* {
  width: 100%;
  height: 100%;
}

h1 {
  color: white;
  font-family: 'Urbanist', sans-serif;
  font-size: 30px;
  line-height: 0px;
  margin-bottom: 0px;
}

p {
  color: white;
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  line-height: 0px;
  margin-top: -740; //I added negative margins because this element was being pushed downwards and that solved it, but I don't want to have to do it with every new element. 
}

body {
  padding: 0;
  margin: 0;
}

header {
  height: 60px;
  background-color: #1e3799;
}

ul {
  float: right;
  right: 30%;
}

ul li {
  display: inline;
  list-syle: none;
}

ul li a {
  text-decoration: none;
  color: white;
  font-family: 'Urbanist', sans-serif;
  font-size: 18px;
  padding: 0px 0px 0px 20px;
}

footer {
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 60px;
  background-color: #1e3799;
  text-align: center;
  margin: 0 auto;
}

footer p {
  color: white;
  font-family: 'Urbanist', sans-serif;
}

body {
  background-color: #4a69bd;
}
```

```html
<h1>Log In</h1>
<p> No Account?<a href="register.php">Register here!</p>
```