.amazon-auto-links-button-1479 { display: block; margin-right: auto; margin-left: auto; position: relative; width: 176px; height: 28px; } .amazon-auto-links-button-1479 > img { height: unset; max-width: 100%; max-height: 100%; margin-right: auto; margin-left: auto; display: block; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }