当我将电子邮件地址注入我的网页时,“@”字符不会显示[关闭]
I am injecting Email addresses using PHP into a web-page containing HTML. When I inspect element on the page the Email address is shown as Email: Bob@Bob.com, but the actual display on the page is Bob Bob.com, does anyone know the problem? I am using an imported font, if that is relevant.
我正在使用PHP将电子邮件地址注入包含HTML的网页。 当我检查页面上的元素时,电子邮件地址显示为Email:Bob@Bob.com,但页面上的实际显示是Bob Bob.com,有人知道这个问题吗? 我使用的是导入的字体,如果相关的话。 p> div>
If your external font doesn't contain the @
character, you can change the font for the very @
character only.
Say, Bob<span style="font-family:sans-serif">@</span>Bob.com
which will result in displaying @
anyways, but in Arial or whatever default sans-serif font is in your browser.
I would not say this is a PHP question though. Pure HTML/CSS