用图像改变标签的文字是可能的吗?例如,#unaestrella的文字为“UnaEstrella”,我想要清晰的文字(或简单地添加图像填充或类似),并显示从http://www.domain.com/images/unaestrella.png图像。这可能吗?用图像改变标签的文字
<ul class="radio_list">
<li>
<label for="unaestrella">
<input id="unaestrella" type="radio" value="unaestrella" name="topics"/>
UnaEstrella
</label>
</li>
<li>
<label for="dosestrellas">
<input id="dosestrellas" type="radio" value="dosestrellas" name="topics"/>
DosEstrellas
</label>
</li>
</ul>
谢谢,只有一个问题,为插件生成html。我找到了一个可行的解决方案:ul.radio_list li label [for = unaestrella] {position:relative!important; float:left!important; line-height:25px!important; background-image:url(images/unaestrella.png);背景位置:左上角;背景重复:不重复!重要;宽度:100%!重要;颜色:透明!重要;}请点击此处:http://www.buscatuspa.com/?post_type=post&topics=cincoestrellas – vektor
那么,有什么问题? –
用jQuery删除文本可能吗? – vektor