Can't get JUST the img to be clickable. The whole Div is clickable?
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:
The img class "post_img" looks like this in CSS:
<div style="padding: 25px">
<h2>Look at this idiot!</h2>
<img class="post_img" src="/images/football.jpg" />
I just want the image to be centered and clickable, and only the image be clickable, not the space around it.