01-16-2014, 03:42 PM
He's not using CSS to make the div clickable - he's wrapping the entire thing in a link tag which, until HTML5, was not valid form of doing things. Apparently, it's now possible to stick block-level elements within <a></a> tags which makes this entire discussion pointless. We can definitely use variable sized images up to the max, set them as a background, center that background, and then just make the entire div clickable directly.