<style>
.inlineRoot {
	border: 1px solid green;
	width: 400px;
	height: 200px;
	overflow: hidden;
	font-size: 22px;
}

.breakBoth {
	border: 1px solid red;
}
</style>

<div class=inlineRoot>1<img src="foo.jpg" height=100 width=100 class=breakBoth>3</div>
