简体   繁体   English

一个锚标签不起作用,类似的锚标签起作用

[英]One anchor tag not working, similar anchor tags working

I've a <li> element with 3 pretty similar anchor tags. 我有一个<li>元素,带有3个非常相似的锚标记。 The first two work just fine as they should but the third doesn't: it does change its color upon hover but it's not clickable. 前两个可以正常工作,但第三个则不能: hover时确实会改变其颜色,但不可单击。 This behavior is similar for Google Chrome, Firefox and IE11 so it's probably not the browser. 对于Google Chrome,Firefox和IE11,此行为类似,因此可能不是浏览器。 I've a ton of similar pages and never encountered any such trouble previously. 我有很多类似的页面,以前从未遇到过此类麻烦。

The LIVE page is here , CTRL + End gets you to the final comment, the final <a> of which is the problem. LIVE页面在这里CTRL + End使您进入最终注释,其中最后一个<a>是问题。

The underlying HTML for this section is 本节的基础HTML是

 <ul id='commentul'> <li> <img alt='' src='http://1.gravatar.com/avatar/72f74d7bd6a20a2f9dd37e6af9d45850?s=80&#038;d=mm&#038;r=g' srcset='http://1.gravatar.com/avatar/72f74d7bd6a20a2f9dd37e6af9d45850?s=160&amp;d=mm&amp;r=g 2x' class='avatar avatar-80 photo' height='80' width='80' /> <h3>By Eszter Babarczy on July 30th, 2016</h3> <p>Hi! I ran the dialogue with 21 variables using their names. The program insists these are string variables (although they are set to scale). What am I doing wrong? Thanks a lot in advance!</p> </li><!-- #comment-## --> <li> <img alt='' src='http://0.gravatar.com/avatar/3bd63d9e0384df2d2e5cc82890712aaa?s=80&#038;d=mm&#038;r=g' srcset='http://0.gravatar.com/avatar/3bd63d9e0384df2d2e5cc82890712aaa?s=160&amp;d=mm&amp;r=g 2x' class='avatar avatar-80 photo' height='80' width='80' /> <h3>By <a href='http://www.spss-tutorials.com/about-us/' rel='nofollow'>Ruben Geert van den Berg</a> on July 31st, 2016</h3> <p>Hi Eszter!</p> <p>Try and run <a href="http://www.spss-tutorials.com/spss-descriptives-command/" rel="nofollow">DESCRIPTIVES</a> on all relevant variables. SPSS will (rightfully) refuse to generate descriptives for string variables and throw a warning.</p> <p>Now, in SPSS, you can have string variables set to scale. It doesn't make sense, though. "Scale" in SPSS means that you're dealing with a metric variable (the <a href="http://www.spss-tutorials.com/measurement-levels/">measurement level</a> is interval or ratio). </p> <p>The defining characteristic of metric variables is that numeric calculations (sum, mean) are meaningful for them and such calculations are not possible on string variables. So we usually see that "scale" is only used for numeric variables whereas all string variables are set to nominal but perhaps this doesn't hold for your data.</p> <p>A tiny example illustrating this point is <a href="http://www.spss-tutorials.com/spss-syntax-examples/no-descriptives-for-metric-string-variable.html">No Descriptives for Metric String Variable</a>. If that doesn't hold for your data, please get back at me, ok?</p> </li><!-- #comment-## --> </ul><!-- id='commentul'> --> 

In the last anchor a you have a &nbsp; 在最后一个锚点中a您有一个&nbsp; inside the tag, like this: <a &nbsp;href="..." 在标签内,如下所示: <a &nbsp;href="..."

Remove that and it will work 删除它,它将起作用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM