captured sparks

Firefox and block level links

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.

You can talk to me, or trackback from your own site. Or, if you're looking for more things to read? Why not check out the Archive.

Talk to me