Jason94 Jason94 - 2 months ago 7x
CSS Question

Make a link have 100% width

I have a box that is X px wide. And in it i have a list (

) with link elements (
<li><a ..></a><li>

How can i with CSS make the link clickable outside the text and in 100% width of the box. Making each line in the box clickable :D


Add display: block to your a tag.