块锚点内的 cufon H3 标签未悬停

发布于 2024-12-02 05:49:59 字数 926 浏览 1 评论 0原文

我希望我的标题(在中间一列)在滚动时悬停为白色。它们被放置在块锚内(所以一切都应该是锚)。当它使用系统字体(Arial,如左栏所示)时,悬停效果很好。

我是否从错误的角度看待这个问题?

      <a class="blog-post" href="file.html">
    <img src="images/promoter-blog-image.jpg" alt="promoter blog image" width="170" height="115" />
    <h3>SMOKER? WATCH THIS AND YOU WON'T QUIT! TOM VEK</h3>
    <p class="bold">Posted by Omar on July 27, 2011 </p>
    <p>After ten years making top quality tunes, Leeds indie troop The Music play their last shows before going their separate ways at Brixton Academy.</p>
    <p>Original tickets for the show at the Shepherd's Bush Empire. are still valid.</p>
    </a> 
  <!-- /blog-post --> 

这是相关页面的链接。

非常感谢,

米奇 http://www.captivegrid.com/10Tribes-refresh/blog.html

I want my headers (in the middle column) to hover white when rolled over. They are placed inside a block anchor (so everything should be an anchor). When it uses a system font (Arial as seen on the left column) the hover works fine.

Am I approaching this fromt he wrong angle?

      <a class="blog-post" href="file.html">
    <img src="images/promoter-blog-image.jpg" alt="promoter blog image" width="170" height="115" />
    <h3>SMOKER? WATCH THIS AND YOU WON'T QUIT! TOM VEK</h3>
    <p class="bold">Posted by Omar on July 27, 2011 </p>
    <p>After ten years making top quality tunes, Leeds indie troop The Music play their last shows before going their separate ways at Brixton Academy.</p>
    <p>Original tickets for the show at the Shepherd's Bush Empire. are still valid.</p>
    </a> 
  <!-- /blog-post --> 

Here is the link to the page in question.

Thanks lots,

Mitch
http://www.captivegrid.com/10Tribes-refresh/blog.html

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱冒险 2024-12-09 05:49:59

你的链接不起作用。我建议您查看 http://www.divydovy .com/2010/04/cufon-hover-fix/ 其中提到了锚点内标题悬停的修复。

您也可以尝试

Cufon.replace('.overlay a', { 
  hover: true, 
  hoverables: { div: true } 
});

应该也可以。

Your link doesn't work. I suggest given this context, to you to check out http://www.divydovy.com/2010/04/cufon-hover-fix/ which mentions a fix for hover of Headers inside anchors.

Also you can try

Cufon.replace('.overlay a', { 
  hover: true, 
  hoverables: { div: true } 
});

Should also work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文