我試圖給按鈕後的標籤,但按鈕不出現。 是在小提琴工作,但不是在我的本地代碼。標籤後不出現按鈕?
請解決問題。
<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