簡體   English   中英

Firefox形式的隱形tekst

[英]Invisible tekst in firefox form

我開發了網站,得到了這段代碼,我的問題是它在chrome中可以正常工作,但是在其他所有瀏覽器中,當我在輸入字段中輸入txt時,它都不可見(看不到我鍵入的內容)

有任何想法嗎?

<h2 style="margin-bottom: 0px; font-weight: bold; color: #fff;">INVISIBLE TEXT IS HERE :</h2>
    <form method="post" action="" style="margin-top: 13px;">
        <input type="text" name="deposit_wallet" style="padding: 10px 10px; width: 500px; font-size: 18px; font-weight: bold; text-align: center; color: #006374;" /><br />
        <input type="hidden" name="deposit_username" value="<?=time();?>" />
        <input type="submit" name="deposit_start" class="button theme-btn" value="Continue" />
    </form>

因此,只需像這樣更改文本的color屬性:color:#000;

<h2 style="margin-bottom: 0px; font-weight: bold; color: #000;">INVISIBLE TEXT IS HERE :</h2>
    <form method="post" action="" style="margin-top: 13px;">
        <input type="text" name="deposit_wallet" style="padding: 10px 10px; width: 500px; font-size: 18px; font-weight: bold; text-align: center; color: #006374;" /><br />
        <input type="hidden" name="deposit_username" value="<?=time();?>" />
        <input type="submit" name="deposit_start" class="button theme-btn" value="Continue" />
    </form>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM