jQuery真实的人 - IE上的不正确视图

时间:2016-02-01 08:15:39

标签: jquery cross-browser captcha

我有jQuery realperson库的验证码,v2.0.1。

在Chrome浏览器上,它可以解决问题。但在IE中,验证码看起来不正确。

这是我的代码( - 基于javascipt + html + jQuery + knockout.js):

<input type="text" id="captcha" />
<span style="color: red;" data-bind="text: captchaError"></span>

JS:

$('#captcha').realperson();

查看Chrome和Internet Explorer的图片:

enter image description here

enter image description here

更新:

在建议添加行高之后,我这样做但是lettera不清楚:

enter image description here

1 个答案:

答案 0 :(得分:1)

你有其他CSS我们强制div {。}}。

请尝试:(在Chrome和IE 10 +上为我工作)

line-height
$(document).ready(function(){
    $("#test").realperson();
});
.realperson-text{
    line-height:3px !important;
}