【发布时间】:2014-05-24 23:28:48
【问题描述】:
开发一个网站,我遇到了以下问题:在登录面板中,输入组在chrome和其他浏览器(如safari opera等)中正确显示。但在safari中却没有。这里是显示差异的图像。
铬:
Safari:
这里还有html代码:
<label for="username">Username</label>
<div class="input-group input-group-sm">
<span class="input-group-addon"><span class="glyphicon glyphicon glyphicon-user"></span></span>
<input type="text" class="form-control" name="username" required="required">
</div>
<label for="password">Password:</label>
<div class="input-group input-group-sm">
<span class="input-group-addon"><span class="glyphicon glyphicon glyphicon-lock"></span></span>
<input type="password" class="form-control" name="password" required="required">
</div>
我已经尝试删除我创建的 css 文件(style.css),但没有任何改变,所以我认为它一定与引导程序有关。有人知道这个问题的解决方案吗?
编辑:
我尝试在另一台 Windows 电脑上加载 Safari 上的页面,但错误仍然相同。在我尝试在 Mac 上加载 Safari 上的页面后,一切似乎都很好。所以错误应该是在windows版本的safari中
【问题讨论】:
-
你能在bootply.com/new 上复制它吗?我复制/粘贴您的 html 代码,但无法在 safari 上重现您的问题。你能告诉你输入的计算样式是什么吗?
-
对不起我的英语,但最后一个问题是什么意思?我在 bootply 上复制了它,结果是一样的!这里是图片oi57.tinypic.com/ftpw3.jpg
-
查看编辑,可能是 safari for windows 的问题!你也试过 safari for windows?
-
我认为 Safari for Windows 仍然是第 5 版...所以也许你可以忽略它,因为它很少使用。如果没有,请给我一个提示;)
-
我可以确认这个问题,最新版本的 Safari 5.1.7 for Windows 系统。
标签: css twitter-bootstrap safari