I want just the image to be clickable, not the whole div. The image only takes up half of the width of the page, but the whole width of the page within the height of the image is clickable. In HTML I have:
<div style="padding: 25px">
<h2>Look at this idiot!</h2>
<img class="post_img" src="/images/football.jpg" />
The img class "post_img" looks like this in CSS:
I just want the image to be centered and clickable, and only the image be clickable, not the space around it.