【发布时间】:2012-03-15 06:58:02
【问题描述】:
我正在尝试使字体粗细正常,而不是 jquery mobile 默认设置的粗体。
<div id="cont" data-role="fieldcontain">
<label for="select-choice-1" class="select">Choose shipping method:</label>
<select style="font-weight: normal" name="select-choice-1" id="select-choice-1">
<option value="standard">Standard: 7 day</option>
<option value="rush">Rush: 3 days</option>
<option value="express">Express: next day</option>
<option value="overnight">Overnight</option>
</select>
</div>
我尝试了内联样式和 javaScript
$('#select-choice-1').css("font-weight", "normal");
但没有任何效果,它仍然显示为粗体。请建议如何使其不加粗。
【问题讨论】:
-
您的小提琴链接出现 404 错误,请更正
-
谢谢,我更正了链接
标签: jquery html css jquery-mobile