After not working on area tag in FireFox

I’m creating an imagemapper using an Imagemapper plugin in WordPress and after each area tag I need to display the data-title of the area.

The problem is, ::after works just fine in Chrome, FireFox & IE but when I use it on a, area tag it only works in Chrome & IE. Is there a possibility to make it work in Firefox? I have to use ::after on the area because this is the only way I can display the data-title using:

div::after {content:"attr('data-title');}


Source: wordpress

Leave a Reply