I have tried everything. I cannot get this centered on the screen. It just sits on the left of the webpage. Thank you for any help.
.form
{
    margin-top: 29px;
    margin-left: 130px;
    padding-top: 63px;
    padding-left: 350px;
    padding-right: 40px;
    background-image: url(form.png);
    background-repeat: no-repeat;
    height: 100px;
    width: 100px;
    position: center; 
    overflow: hidden;
}<div class="allpage">
  <div class="header">
    <h1>»FORMULAR</h1>
  </div>
  <div class="form">
    <form action="/action_page.php">
      <label for="fname">Nume:</label><br>
      <input type="text" id="fname" name="fname" placeholder="Ion"><br>
      <label for="lname">Prenume:</label><br>
      <input type="text" id="lname" name="lname" placeholder="Popescu"><br>
    <input type="submit" value="Trimite">
  </form> 
</div> 
     
     
    