firefox形式的隐形tekst

时间:2017-06-18 14:13:56

标签: php firefox invisible

我开发网站,我得到了这段代码,我的问题是它在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>

1 个答案:

答案 0 :(得分: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>