Square images resizing with text

Hi, I can't figure out how to place an image next to some text (half screen width each, 50/50). It's a bit tricky to  explain in text, but basically I want the image to fill the space and resize as I move the window size. At the moment if I reduce my browser window size the image shrinks and leaves a white spave underneath it. How do I achieve this? I've attachd 2 images, in the first the image on the right is the correct size and is equal in height to the text box on the left. In the second image, I've reduced the browser window slightly and the image shrinks and leaves a whites space beneath it. How do I avoid this please? Thanks.

image




image

Comments

Sign In or Register to comment.