简体   繁体   English

Firefox形式的隐形tekst

[英]Invisible tekst in firefox form

I develop site, and I got this bit of code, my problem is it works fine in chrome, but in every other browser when I input txt in input field its invisible (can't see what I type) 我开发了网站,得到了这段代码,我的问题是它在chrome中可以正常工作,但是在其他所有浏览器中,当我在输入字段中输入txt时,它都不可见(看不到我键入的内容)

Any ideas? 有任何想法吗?

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

So just change the text color property like this: color: #000; 因此,只需像这样更改文本的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