Your Source for Web Development Resources

Your Source for Web Development Resources

Resizing Images Based On Browser Window Size

In fluid layouts it is easy to format the text to adjust nicely when the window is resized, but the images are not as fluid-friendly. This Quick Tip shows you how to swap between two image sizes based on the current size of the browser, div, or whatever you decide to make the deciding factor. The technique that will be used can be expanded to cause additional changes upon resize as well, beyond simply image swapping (ie captions, navigation).

Choose It

Resizing Images Based On Browser Window Size, 6.0 out of 10 based on 1 rating

Choose It

VN:F [1.9.3_1094]
Rating: 6.0/10 (1 vote cast)

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.