Images are not inside the div

0

I have a div where I want to leave 2 images on top of each other, and only the image checked in an input will be visible, while the legend of the visible image should position itself to the right of the image. However, I'm trying to leave the container div with position:relative; and the images with position:absolute , so the images are absolute relative to div, but I can not. the images "flee" from the div, the div is left with nothing inside and the content is just below.

Here's what I have: link

Could you help me?

    
asked by anonymous 04.03.2016 / 15:12

1 answer

1

I made the comment in response:

Put height: 200px; in the css #container-fim-ap statement, see: fiddle

    
04.03.2016 / 15:58