On a webpage I am working on, there is a div that contains an animation with images that change using CSS. Below this animation is a wrapper div for the content structured like this:
<div id="animation">
<img ...>
...
<img ...>
</div>
<div id="content">
Some content
</div>
I have experimented with various methods such as floats, clear, and positioning, but I cannot get the content div to stay below the animation div without overlapping. The only partially effective solutions I have found involve setting the height of the first div to match the images (which are all equal width and height), but this causes issues on different screen resolutions. Another option is to set the image height to 100% and apply the aforementioned fix, but then the images look distorted on various resolutions.
Is there a way to achieve my desired layout using only CSS?
Edit: JSFiddle
Edit 2: I followed this tutorial for creating the changing images.