Solved this problem by changing it to the following:
<div id="contentContainer" style="background: rgba(255,255,255,0.8);">
Content ...
<img src="https://stackoverflow.com/questions/19457057/..." alt="Photo" />
</div>
Used just rgba alpha instead of opacity.
Now it works.