fit div to img using css, not using js get the image size and set the div
Is it possible to make the container to fit the size same as the containing image without explicitly set the width and height of image to container?


	<div id="imageContainer" style="background-color:black">
	<img id="image" src="11.jpg"/>
	</div>

fit div to img using css, not using js get the image size and set the div
===

Is it possible to make the container to fit the size same as the containing image without explicitly set the width and height of image to container?


	<div id="imageContainer" style="background-color:black">
	<img id="image" src="11.jpg"/>
	</div>
