After creating a div tag with the class name zebusoft-logo within my header in both my CSS and HTML files, I attempted to use margin-left: 400px in the CSS file but noticed that the logo wasn't moving. What could be causing this issue and how can it be resolved?
styles/main.css
html, body {
padding: 0;
margin:0;
}
header {
position:fixed;
top:0;
width:100%;
height:102px;
background-color:#222;
padding:20px;
}
footer {
background: #222;
width: 100%;
height: 370px;
bottom: 0;
position: fixed;
}
.zebusoft-logo {
padding: 0;
top: 0;
position: fixed;
margin-left: 400;
}
mypage.html
<!doctype html>
<html>
<title>Joes Nose</title>
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<header>
<div class="zebusoft-logo"><img src="images/logo-3.png" alt=""></div>
</header>
<body>
<div></div>
</body>