Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将标签文本放在左侧,将单选按钮放在div.
div
这是我的代码:http: //jsfiddle.net/mK3DV/3/
此外,当我在代码中检查结果时,radio checked图像大小会有所不同。有什么解决办法吗?
radio checked
更新小提琴代码:
http://jsfiddle.net/mK3DV/10/
归功于 rickyduck
根据您的需要提供填充。
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; }