Tôi đã cung cấp hình ảnh bg cho nút radio. Nó đang làm việc trong chrome nhưng không phải trong mozilla.Hình nền nút radio
Đây là mã của tôi
<div class="fieldlist">
<label for="shipadd2">
<input type="radio" id="shipadd2" name="address" />
<div class="compacttext"> Lorem ipsum </div>
</label>
</div>
CSS là
.fieldlist input[type="radio"] {
float: right;
-webkit-appearance: none;
border: none;
width: 25px;
height: 25px;
background: url(images/radio.png) left center no-repeat;
background-size: 20px;
}
.fieldlist input[type="radio"]:checked {
background: url(images/radio_checked.png) left center no-repeat;
}
xin đánh giá câu trả lời ur & đánh dấu chúng là câu trả lời nếu nó đã giúp bạn trong câu hỏi của bạn. – uday
bạn có thể tạo một ví dụ trong http://jsfiddle.net để hiểu rõ hơn – sandeep