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
Why use outer div in first place? Write all your code for the link and show your link as a button. That will simplify your problem.
.link_class{width:150px;height:30px;color:#fff;text-align:center;display: block;
-webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px;
/*some other styles*/}
Check this demo: Fiddle