In a nutshell, there’s a global stylesheet:
a { font-family: Arial; }
I want to use a different font family for a particular link:
<a href='...' style='font-family: Helvetica;'>...</a>
or
<span style='font-family: Helvetica;'><a href='...'>...</a></span>
but nothing works. Is there an easy way to do this?
P.S. I’m dynamically (via PHP) assign different fonts to different links, so creating a special class is not an option.
Unless you have a specific font named Helvetica, you should realise that on some platforms (such as Windows, via FontSubstitutes), Helvetica is aliased to Arial. That might be the source of the problem. Try another font and see.