2017-06-18 49 views
0

我開發的網站,我得到了這一點的代碼,我的問題是它在Chrome中工作正常,但在其他瀏覽器時,當我在輸入字段中輸入txt其無形(看不到我類型)隱形tekst在Firefox的形式

任何想法?

<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> 
+1

剛剛嘗試過FF 53,我無法複製該問題。 –

+2

我認爲你的頁面背景顏色是白色的,文本的顏色被定義爲白色:#fff; –

回答

0

所以,只要改變文字顏色屬性是這樣的: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>