<!DOCTYPE html> <html> <style> #scale { width: 200px; height: 200px; } </style> </head> <body> <div id="outer"> <div id="inner"> <img id="scale" src="repeatable-diagonal-gradient.png"> </div> </div> </body></html>