I have a div that has a set width and it is wrapped around a link. I want the link inside to fill the entire space of the div so that when I click
div
This should do the trick:-
By default a is an inline element and width does not affect them. So change it to inline-block to have it take the width you specify.
a
.link_class { display:inline-block; width:100%; height:100%; }