2011-10-26 6 views
0

申し訳ありません申し訳ありません前にこの問題に遭遇したことはありません。インターネットエクスプローラのチェックボックスが表示されません

私のチェックボックスはIEでは表示されませんが、FFで表示されます。どうして?私はチェックボックスをする第二の方法を知らない。

<%if termandcon = "" and not error="" then warningman = "You Must Tick This Box"%> 
    <span class="nobor pad_5 rtalign" style="font-size:14px;"> 
     <input type="checkbox"  name="termandcon" <%if termandcon = "on"then%> checked <%end if%> style="height:1px; width:1px;"/> 
     <a href="/info/contactus.asp#term" target="_blank"> 
     <b> I accept the terms & conditions</b> 
     </a> 
    <span class="redtxt">*</span> 
    <%warning(termandcon)%></span> 
+0

タグがありません。あなたのコードは純粋なHTMLではありません。どのテンプレート言語を使用していますか?また、結果のHTMLソースコードを貼り付けると便利かもしれません。 – nfechner

+0

純粋なHTMLを記述できますか? – Dev

答えて

2
<input 
    type="checkbox" name="termandcon" 
    <%if termandcon = "on"then%> checked <%end if%> 
    style="height:1px; width:1px;"/> 

あなたはここで奇妙な何も表示されないのですか? 身長:1px;幅:1px;

1

スタイル部分を削除するとうまくいくはずです。

<input type="checkbox" name="termandcon" 
    <%if termandcon = "on"then%> checked="checked" <%end if%>/> 
関連する問題