Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 IE6 和 IE7 中的链接有问题(它们在 IE8 中运行良好)。HTML 是正确的并且没有不必要的空格,但 IE 并没有删除链接文本末尾之间的空格 - 它直接运行到连续的段落文本中。
我无休止地搜索,但找不到解决方案。有什么建议么?
这很奇怪。一旦锚点具有以“mailto:”开头的href,锚点与其旁边的文本之间的空间就会被删除。
使用 mootools 是我解决问题的方法:
if (Browser.ie6 || Browser.ie7){$$('a[href^=mailto:]').setStyle("margin-right", "0.3em");}