Passwords showing up as white (or not at all) in IE

后端 未结 3 875
一生所求
一生所求 2020-12-30 10:51

For some reason password fields are appearing as blank (or white) characters in IE8 for a site I\'m working on.

Both these screenshots have a long password entered

相关标签:
3条回答
  • 2020-12-30 11:30

    I had the same issue. I fixed it by adding a hack in my CSS to override the input font from Open Sans to Arial:

    .form-horizontal input {
        *background-color: #ffffff !important;
        *color: #464646 !important;
        *font-family: Arial !important;
    }
    

    It has to be a character issue with Google Font and IE where the password dots are missing from the font or something like that.

    0 讨论(0)
  • 2020-12-30 11:30

    This is how I solved it

    <?php echo Form::password('password', NULL, array('title'=>'', 'class' => 'input-block-level', 'tabindex' => '2', 'placeholder'=>'Password', 'title' => 'Password', 'style' => 'font-family:arial, serif;')) ?><!-- the font family arial serif is a fix for IE8 password placeholder text -->
    
    0 讨论(0)
  • 2020-12-30 11:31

    I had a similar problem - my text on all input[type='text'] elements was white. Moving the mouse cursor out of the modal div caused the text to appear. I suspected filter and transition CSS rules from Twitter Bootstrap to cause the problem - and it was it. I removed hide and fade classes from my modal window: <div class="modal hide fade" /> and it works fine now. Give it a try if your modal is animated.

    0 讨论(0)
提交回复
热议问题