<div style="float:left; border:10px solid blue"><img src=resources/red-100x100.png width=100 height=100 style="width:100%; height:auto; border:10px solid green"></div>