#logo{ padding-top: 25px; } #logo-box { position: absolute; right: 0; max-width: 300px; margin-left: 175px; }