I found the solution here, if anyone needs it
position:absolute;
top: 500px;
left: 200px;
Hello everyone, I've got a new test here for an application, and I'm having trouble getting the button in the center of HTML via css, follow the code:
<!DOCTYPE HTML>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>TESTE SCANIA</title>
<!-- Aqui chamamos o nosso arquivo css externo -->
<link rel="stylesheet" type="text/css" href="css\estilos.css" />
</head>
<body>
<div id="teste">
</div>
<form>
<div id="botao">
<input type="submit" name="INICIAR TESTE" value="INICIAR TESTE" class="botaoEnviar" />
</div>
</form>
</body>
</html>
and css
body{
background-color: #373435;
}
#teste{
width: 1920px;
height: 1080px;
background-image: url(background.jpg);
background-repeat: no-repeat;
}
#botao{ text-align: absolute }
.botaoEnviar{
width: 350px;
text-align: absolute;
left: 100%;
top: 100%;
margin-left:-110px;
margin-top:-40px;
padding: 15px 20px;
border: 1px solid #eee;
border-radius: 6px;
background-color: #FCC302;
font-size: 18px;
}