簡體   English   中英

一個錨標簽不起作用,類似的錨標簽起作用

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

我有一個<li>元素,帶有3個非常相似的錨標記。 前兩個可以正常工作,但第三個則不能: hover時確實會改變其顏色,但不可單擊。 對於Google Chrome,Firefox和IE11,此行為類似,因此可能不是瀏覽器。 我有很多類似的頁面,以前從未遇到過此類麻煩。

LIVE頁面在這里CTRL + End使您進入最終注釋,其中最后一個<a>是問題。

本節的基礎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'> --> 

在最后一個錨點中a您有一個&nbsp; 在標簽內,如下所示: <a &nbsp;href="..."

刪除它,它將起作用

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM