1. Label標籤中文字內容過長時,會自動換行,當你不想換行時,可以設置其樣式屬性:style=”width:200px”;根據實際需要改變其中的寬度值。
2. Label和input標籤要在同一行顯示時,需要將前面一個的display屬性設置爲inline;
<label id="Label8" for="CheckBox8"class="CheckBoxLabelClass" style="display:inline;">其它1<input type="text" value="請註明..."/></label>;