对不起,我缺乏知识,但我在我的服务器上安装了 limesurvey 1.9。 http://ankaracity.com/wingo/index.php?sid=41381
我需要把每个答案都填到彩色盒子里。
并且需要将所选答案颜色设为黑色。
那么可以用css来做吗?
我怎么办?
谢谢。
最佳答案
您可以添加 css 代码以删除单选圈并使其突出显示(选中时)(无论如何,我仍然不知道如何为每个答案做这件事)
/*
Change the look'n'feel of labels (which are adjacent to radiobuttons).
Add some margin, padding to label
*/
input[type=radio] + label {
margin:-2px;
*/ padding: 4px 10px;
background-color: #ffffff;
color: #ff0000;
border: 1px solid #2f5376;
padding: 0 0 0 0;
}
/*
Change background color for label next to checked radio button
to make it look like highlighted button
*/
input[type=radio]:checked + label {
background-image: none;
background-color:#ff0000;
color:#ffffff;
padding: 0 0 0 0;
}
关于php - 如何更改 LimeSurvey 单选按钮样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17131601/