css - 我有一个出现的流氓跨度类,它正在破坏链接
问题描述
我试图弄清楚它从哪里填充以及如何摆脱它,以便链接再次工作。
在我的网站上简单分享社交链接。所有链接都应该是这样的:
<div class="share_links sogreen">
<span class="st_pinterest_custom">
<a href="http://pinterest.com/pin/create/button/?url={path='recipe/{url_title}'}{if recipe_photo}&media={recipe_photo}{/if}" target="_blank" class="pinterest upper social-share">Pinterest</a>
</span>
<span class="st_facebook_custom">
<a href="https://www.facebook.com/sharer/sharer.php?u={path='recipe/{url_title}'}" target="_blank" class="facebook upper social-share">Facebook</a>
</span>
<span class="st_twitter_custom">
<a href="http://twitter.com/share?text={title}&url={path='recipe/{url_title}'}" target="_blank" class="twitter upper social-share">Twitter</a>
</span>
</div>
我添加了一个屏幕截图来展示 pinterest 如何在第一个链接中添加一个额外的类。
我已经突出显示了 chrome 检查元素中的额外跨度。
解决方案
推荐阅读
- javascript - Firefox 的 Math.round 或 Date 是否不同?
- javascript - 当我有五个具有相同选项和值的选择时,如何从另一个选择标签中删除选定的选项?
- google-tag-manager - 我可以在多个标签中拆分 Google Tag Manager 促销视图吗
- javascript - 如何检查环境是否支持扩展构建,如 Array
- python - tkinter:在父级中显示的顶层框架
- python - 将工作 Python 脚本转换为 EXE (Python) 后出错
- smarty - 使用 first 和 last 属性时,为什么我的嵌套 IF 在 Smarty 中不起作用?
- javascript - 为什么 setTimeout 函数最后执行?
- oauth - OpenID 与 OAuth
- php - PHP中的FTP被动模式