我试图给按钮后的标签,但按钮不出现。 是在小提琴工作,但不是在我的本地代码。标签后不出现按钮?
请解决问题。
<div style="float:left;padding-top:5px;">
<span class="newrdb">
<label for="all" style="padding-left:15px;padding-bottom:8px;width:100px;font-size:12px;float:left">
Default Template
<input type="radio" name="Template" id="all" value="Default Template" checked="">
</label>
</span>
</div>
无无我的要求是有一个输入字段bu我希望按钮出现在文本 – Sree11
@ThisGuyHasTwoThumbs根据W3的罚款。 “_要隐式地将标签与另一个控件相关联,控件元素必须位于LABEL元素的内容中”https://www.w3.org/TR/html401/interact/forms.html#edef-LABEL“。另请参阅https://stackoverflow.com/questions/774054/should-i-put-input-tags-inside-a-label-tag – ADyson
@ADyson啊我看到,从来没有见过它完成,似乎,对我来说,不合逻辑的,但那只是我:)我会删除我的评论 – ThisGuyHasTwoThumbs