<!DOCTYPE html> <body> <div style="display: inline-block; background: blue"> <img src="lime100x100.png" style="height: 200px; display: block; visibility: hidden; padding: 30px; box-sizing: border-box;"> </div> </body>