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