I have a simple form and I just need it centered in the middle of the page. Like, directly square in the middle. But no matter what I change in my CSS file it stays on the left side of the page.
My HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Search</title>
</head>
<link rel="stylesheet" href="search.css" type="text/css">
<body>
<div>
<form action="https://google.com/search">
<input id="search" type="text" name="q">
<br>
<input id="button" type="submit" value="Google Search">
</form>
</div>
</body>
</html>