<style>
div, img {
width: 50px;
height: 50px;
}
</style>
<div id="editable1" contenteditable><img id="img" src="greenbox.png"></div>
<div id="editable2" contenteditable></div>
<style>
div, img {
width: 50px;
height: 50px;
}
</style>
<div id="editable1" contenteditable><img id="img" src="greenbox.png"></div>
<div id="editable2" contenteditable></div>