I'm trying to make a simple Webshop and I need help with centering the input elements in the top div.
HTML/CSS
body {
  margin: 0;
  background: lightcyan;
}
.top {
  position: fixed;
  background: lightblue;
  width: 100%;
}
.top img {
  width: 80px;
  float: left;
}
.top h1 {
  float: left;
}
.top form {
  float: right;
  height: 100%;
}
.top form input {
  display: block;
  float: right;
}<html>
<head>
  <title>Webshop</title>
</head>
<body>
  <div class="top">
    <img src="ImageUsed.png">
    <h1>Webshop Title</h1>
    <form>
      <input type="submit" value="register">
      <input type="submit" value="login">
    </form>
  </div>
</body>
</html>The div, aswell as the img and h1 elements look good, but I want the two input elements inside the form element to be centered vertically inside the div element. Any Idea how I can do that?
 
     
     
     
     
    