【问题标题】:onmouseover error with bootstrap引导程序出现鼠标悬停错误
【发布时间】:2014-12-26 23:39:25
【问题描述】:

我不知道是什么导致了错误,但是当我不使用 bootsrap.css 的链接时它正在工作

<link rel="stylesheet" type="text/css" href="css/bootsrap.css"/>

但是当我使用这个引导链接时,鼠标悬停不起作用。

什么原因导致这个错误有什么解决办法?

<span id="dummy"></span>
<p onmouseover="playSound('<?php echo $audiopath; ?>');">
    <textarea cols="100" rows="8" name="question" readonly style="width:96.8%;text-align:left;margin-left:2%;margin-top:2px;font-size:120%;font-weight:bold;margin-bottom:0;color:#0000ff;padding:2px 2px 2px 2px;" >
         <?php echo htmlspecialchars_decode($r['question'],ENT_QUOTES); ?>
    </textarea>

【问题讨论】:

  • 你的意思是靴子trap.css?
  • 您能在浏览器中查看控制台输出吗?通常这会提供有价值的信息
  • 控制台里面什么都没有~_~
  • 当我删除引导链接时它正在工作。但是当我放上链接时 它不工作
  • 也许您的样式表路径不正确?我建议在浏览器中查看页面源代码,并确保 CSS 文件是可点击的超链接。

标签: php css html twitter-bootstrap


【解决方案1】:

你必须在p标签中添加样式

style="cursor:hand"

【讨论】:

  • 为什么不关闭p标签?
  • 播放

  • 因为后面还有代码我只是放了一部分
猜你喜欢
  • 1970-01-01
  • 2011-05-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-08-04
  • 2018-09-03
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多