As shown in this jsfiddle, I would like to arrange 2 images into opposite corners of a page of text. The width and height of the body are adjustable. (If the user narrows his window, the text will take up more space vertically and less horizontally.)
I have already seen How to position two images in opposite corners of one div. I thought I'd start with something like:
.image1{
float: left;
}
.image2{
float: right;
}
Floating the first block is easy.
How could I set the 2nd block such that it always knows where to be (such that it is in the bottom right of the container and no text is below or to the right of it)?