【发布时间】:2016-11-30 16:58:55
【问题描述】:
我有一个网页,在 Chrome 和 Firefox 中,浏览器要求我保存登录信息。但是 IE11 并没有要求保存登录信息。 有人可以帮忙吗?谢谢!
用户名输入:
<input id="mui-id-2" style="font: inherit; padding: 0px; border: currentColor; border-image: none; width: 100%; height: 100%; color: rgba(0, 0, 0, 0.87); margin-top: 14px; position: relative; box-sizing: border-box; font-size-adjust: inherit; font-stretch: inherit; background-color: transparent; tap-highlight-color: rgba(0, 0, 0, 0);" type="text" data-reactid=".0.0.0.1.0.5.1.0.$=10.0.1.2">
输入密码:
<input id="mui-id-3" style="font: inherit; padding: 0px; border: currentColor; border-image: none; width: 100%; height: 100%; color: rgba(0, 0, 0, 0.87); margin-top: 14px; position: relative; box-sizing: border-box; font-size-adjust: inherit; font-stretch: inherit; background-color: transparent; tap-highlight-color: rgba(0, 0, 0, 0);" type="password" data-reactid=".0.0.0.1.0.5.1.0.$=10.0.3.2">
【问题讨论】:
-
你真的应该使用样式表。
-
这是浏览器的默认行为,您可以通过编辑设置进行配置
-
使用除内联样式外的样式表。并为您的输入值命名。我怀疑它没有名字就可以工作。
-
您检查浏览器的设置了吗?先在其他网站上试试。