这个问题与使一个html svg对象也是一个可点击链接相同,但给出的答案似乎不适用于iPhone ios 9.3(safari和chrome浏览器).我重新问这个问题,希望它们是解决问题的新方法或适应iPhone的答案.
此外,<object>在我的情况下,使用标签以外的标签是不可能的.
CSS
.tab-svg-link {
display: block;
z-index: 1;/*added this to test if it fixes the problem*/
overflow: hidden;
float: left !important;
width: 325px;
height: 280px;
padding-right: 10px;
padding-left: 15px;
padding-top: 20px;
}
.tab-svg-object{
z-index: -1;/*added this to test if it fixes the problem*/
pointer-events: none;
}
/*update 3 -- added containing divs for code completion */
.index-container {
padding: 15px 20px;
}
.layout-content {
margin-top: 75px;
}
Run Code Online (Sandbox Code Playgroud)
HTML
<body>
<div class="layout-content container"> …Run Code Online (Sandbox Code Playgroud) 我们可以通过向表添加表响应类来使表可滚动,但是我们如何循环它以便一旦循环结束,第一列将跟随最后一列,就像它是相邻列一样.(当我们应用选框时不会发生这种情况)