Take a look at this JSFiddle
I am aiming to extend the .newslink
links to reach the edges of the .content
divs.
I currently have a slideshow featuring different content, and it causes issues when I try to wrap the div with the anchor tag or use display:block
/ display:inline-block
on the a
element.
At the moment, the links only cover the image and text due to the 15px padding in .content
. You can test this by hovering your mouse near the border of the div versus over the image and text. My goal is for each link to fill the entire surrounding div.
Is there a way to achieve this without enclosing the div with the a
tag or resorting to display:block
/ display:inline-block
on the anchor element?