Guys I am facing a problem: HTML:
<!DOCTYPE html>
<html>
<head>
<title>CSS</title>
<meta http-equiv="author" content="@infinite"><!--Credits-->
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body>
<form >
<input type="submit" value="Submit">
</form>
</body>
</html>
CSS:
body{
background-color:black;
}
form{
width:500px;
border:solid 5px white;
}
input[type="submit"]{
width:200px;
border:solid 5px white;
border-radius:50px;
font-family:Impact,fantasy;
font-size:300%;
color:white;
background-color:inherit;
margin:300px auto 300px auto;
}
I want to centralize the submit button in the form, but it still sticks to the left side of the form. The "auto" in the margin for the submit button is not working.
Please help..