I'm facing a challenge with my markup that I need help solving. Here is the scenario: I have provided a link within an anchor tag, but I want users to be able to click anywhere on the li tag in order to be redirected to the link specified in the anchor tag. The catch is that I cannot place my span element inside the anchor tag; it must remain outside of it. Can anyone provide me with the CSS code for achieving this while ensuring compatibility with IE?
<ul>
<li>
<span> 1 </span>
<a href="">Click any where in the li i will take u to somewhere</a>
</li>
</ul>