* { padding: 0; margin: 0; } #header { height: 100vh; width: 100%; background-image: url('https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTqo7F5-ChUGOn7NF_7AfxQ6HLkwzjU5avVAZSAmWYfK6mFqQFj'); background-repeat: no-repeat; background-size: 100%; background-attachment: fixed; overflow: hidden; } .mw { max-width: 1190px; margin: 0 auto; } #header_nav { position: absolute; width: 1190px; height: 90px; left: 0; right: 0; margin: 35px auto; background: #fff; } #header_nav img { position: relative; margin: auto 10px; height: 60px; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Umbrella</title> <link rel="stylesheet" href="css/main.css" type="text/css"> </head> <body> <div id="header_nav"> <img src="https://www.google.com/photos/about/static/images/google.svg"> </div> <div id="header"> <div class="mw"> </div> </div> </body> </html> How do I center the "google" picture?