You are making a good point here, I got the proportions wrong. Thanks for correcting my efforts. What you posted here looks good.
You’re very welcome. When you set either only the width or only the height in your HTML, HTML itself automatically calculated the other correctly.