I have to put an image into a container, it should be aligned to left and surrounded by text.
The container has a background and it must to fit relatively to its content (text+image).
Instead, although text surronds properly the image, the container (and its background) follows only the text block and ignores the image's height. So, if the image is higher than text block, it exits out from the background.
If I put display:inline-block to .Container class the container has a wrong width when it contains only text.
Where did I go wrong?
Thank you very much
<img src="images/test.jpg"/ class="LeftAlign">