Flexible, fluid photoset (advanced)
The photoset is fluid: try resizing your browser. Dealing with margins and photos of different aspect ratios is also never a problem. Made by Terry.
This example hides the original <img> element and instead assigns the image source as a background image to the <a> element instead. This allows us to dictate the ratio to use, without distorting the original image. Try resizing your browser, and see magic happens!









