Firefox and block level links
Written by Robin Fisher in 60 words
12
Apr
Has anyone else had any problems trying to wrap block level elements in an a tag in Firefox for Mac.
In my case, I was trying the following:
<a href=""> <li><img src="" /></li> </a>
Unfortunately, Firefox for Mac seems to pre-emptively close the a element and then wraps the img in an a tag.
I’ve checked on my Windows machine though and the elements work fine.