Jason94 Jason94 - 1 year ago 96
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

Answer Source

Add display: block to your a tag.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download