0

我的任务是从Joomla 迁移网站!1.5Joomla!2.5 . 那是一团糟,但我终于让网站运行起来了。

这是我的一篇文章中的一段代码:

<p><span class="Apple-style-span" style="font-family: Helvetica, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold;">Description </span><span class="Apple-style-span" style="font-family: Helvetica, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold;"><br /></span></p>
<p>A bunch of text goes here</p>
<p style="font-size: 10px;" align="center"><a href="some_image.jpg" target="_PCI-104-3000"> <img src="another_image.jpg" border="1" alt="Image of The Thing" height="120px" />

当我将鼠标悬停在中间的段落(“这里有一堆文本”)或其上方的标题行上时,整个段落变为粗体。当鼠标离开该区域时,文本恢复正常。

为什么?这是在Joomla!上运行的完全相同的代码!该网站的1.5版本,在那边它没有这样做。新版本的Joomla!阅读 HTML 有问题?

4

1 回答 1

2

如果我能看到有问题的实际站点,我可以告诉你确切的位置,但很明显,你在站点中有一些 CSS 会触发 :hover。检查模板的 J2.5 版本的 CSS 文件。

于 2012-06-20T17:12:02.747 回答