单选按钮不可点击联系表格7

时间:2016-03-14 19:23:13

标签: html css

对于联系表格,我使用带标签的单选按钮。

对于我使用的标签:

    background-image: url(https://www.dedroogbouwvloer.nl/wp-content/uploads/2016/03/css-keuze.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    background-position: 0 0;
    -moz-user-select: none;
    background-repeat: no-repeat;
    -ms-user-select: none;
    user-select: none;
    line-height: 15px;
    font-size: 15px;
    padding-left: 20px;
    height: 15px;
    display: inline-block;
    line-height: 15px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 15px;
    vertical-align: middle;
    cursor: pointer;

对于我使用的单选按钮

输入[类型=无线电]

position: absolute;
    vertical-align: middle;
    z-index: -1000;
    cursor: pointer;
    font-size: 15px;
    left: -1000px;
    background-position: 0 0;
    background-repeat: no-repeat;
    line-height: 15px;
    display: inline-block;
    overflow: hidden;
    height: 15px;
    padding-left: 20px;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;

问题是我无法点击单选按钮。上一页:https://www.dedroogbouwvloer.nl/prijscalculatie-droogbouwvloer/

1 个答案:

答案 0 :(得分:1)

如果我转到此页面,单选按钮是可点击的。同样在联系表格7中你可以制作一个这样的单选按钮:[复选框你的国家"中国" "印度" "圣马力诺"]