【发布时间】:2013-03-11 10:30:14
【问题描述】:
标题几乎说明了一切。我的 SVG <text> 嵌套在 <a> 元素中的元素在鼠标悬停时得到下划线,但仅限于 Chrome。 Firefox 或 IE 中没有下划线。
我应该设置一些属性来删除 Chrome 中的下划线吗?
这是我的代码
<a xlink:href="#" class="node">
<title>Some title</title>
<circle class="little" r="50" cx="60" cy="360" fill="#0088cc"></circle>
<text font-size="20px" font-weight="bold" fill="white" text-decoration="none" text-anchor="middle" dominant-baseline="central" x="60" y="360">Some text</text>
</a>
【问题讨论】:
标签: google-chrome svg