我已經制作了一個單選按鈕控件,它在Chrome中完美工作,但它不適用於Mozilla。盒子陰影樣式不應用於Mozilla中的單選按鈕
的HTML:
<input type='radio' class="myRadio" name='a' checked/><span> A</span>
<br>
<input type='radio' class="myRadio" name='a'/><span> B</span>
<br>
<input type='radio' class="myRadio" name='a'/> <span> C</span>
的CSS:
input[type='radio'].myRadio {
-webkit-appearance:none;
width:20px;
height:20px;
border:1px solid darkgray;
border-radius:50%;
outline:none;
padding:0px;
-moz-box-shadow:0 0 5px 0px gray inset;
box-shadow:0 0 5px 0px gray inset;
}
input[type='radio'].myRadio:hover {
box-shadow:0 0 5px 0px orange inset;
-moz-box-shadow:0 0 5px 0px orange inset;
}
input[type='radio'].myRadio:before {
content:'';
display:block;
width:100%;
height:100%;
margin: 20% auto;
border-radius:50%;
margin-top:0px;
}
input[type='radio'].myRadio:checked:before {
background:orange;
}
你的意思是[urlencode](http://php.net/manual/en/function.urlencode.php)? – machineaddict 2014-12-05 09:11:05
您是否允許配置文件中的allowed_uri_chars? – 2014-12-05 09:12:39
請提供相關信息給我們 – 2014-12-06 11:58:54