单选按钮标签位置设置

4
我需要将标签文本放置在div的左侧,将单选按钮放置在右侧。

以下是我的代码:http://jsfiddle.net/mK3DV/3/

此外,当我检查代码结果时,radio checked图像大小会有所变化。 有解决方法吗?

2个回答

2

0

根据您的需求提供填充

input[type="radio"] + label
{
    background: url(http://manual.evolvesystems.ws/img/check_icon.jpg) right center no-repeat;
    background-size: 20px; 
    width: 23px;
    height: 25px;
    display:inline-block;
    padding:xx xx xx xx;
}

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接