小编Sag*_*til的帖子

IE10/Windows 8对所有元素都有奇怪的轮廓和盒子阴影效果

如果有人可以帮助解决这个问题,那就太超级了.我在IE10/Win8上遇到了奇怪的渲染问题.所有其他浏览器(包括IE10/Win7)都可以正常工作,但IE10/Win8在选中或悬停时会在所有元素上显示奇怪的轮廓或框阴影.

我试过设置的所有元素(*)outline:noneoutline:transparent*:active, *:focus, *:hover无济于事.我也禁用了过渡但效果仍然存在.我正在使用Twitter Bootstrap和其他自定义样式.所有转换都通过Bootstrap进行.

IE10不支持条件语句,因此我运行以下脚本将一个ie10类添加到html并添加特定于IE10的样式.

$(document).ready(function(){

    if( ($.browser.msie) && ($.browser.version == "10.0") ){
        $('html').addClass('ie10');
    }

});
Run Code Online (Sandbox Code Playgroud)

仍然无法正常工作.我附上了我面临的问题的截图(只有IE10/Win 8).

在背景图象的人工制品

h3标签上的边框或轮廓

单击输入框会导致奇怪的阴影/轮廓转换

锚标签/按钮也有一个奇怪的轮廓

以下是文本框的示例代码:

HTML

<div class="input-placeholder">
    <input autofocus="autofocus" class="input-medium" id="user_full_name" name="user[full_name]" size="30" tabindex="1" type="text" value="Sagar Patil">
    <a href="#" class="error-msg hide" rel="popover" data-placement="right" data-content="" tabindex="104" data-original-title=""></a>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS

.input-placeholder {
position: relative;
}

#profile .input-medium, #local-testing .input-medium {
width: 344px;
color: #a16d1d;
padding: 10px 13px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
} …
Run Code Online (Sandbox Code Playgroud)

html css windows-8 internet-explorer-10

5
推荐指数
1
解决办法
3421
查看次数

如何为指向我的服务器的域动态创建新的 LetsEncrypt/Certbot SSL 证书?

我正在构建一个网络应用程序(例如:)www.mywebapp.example,允许用户将他们的域 - www.xyz.example- 指向www.mywebapp.example. 当用户转到 时www.xyz.example,他们的内容将从中提供www.mywebapp.example。用户将被告知如何更新他们的@www A records在他们的域提供商中的 DNS 设置以连接www.xyz.examplewww.mywebapp.example.

我可以./certbot-auto -d <domain-name>为每个域手动创建新的 SSL 证书。我还设置了一个 cron 作业来测试更新。

但是,我想通过运行从 JavaScript 函数触发的 PHP 脚本来自动执行此过程,每次用户将其域连接到www.mywebapp.example. 我的问题是:

  1. 我应该./certbot-auto使用命令从 PHP执行exec()/shell_exec()命令吗?我应该编写一个单独的 bash 脚本并运行 bash 脚本吗?

  2. 我应该使用 LetsEncrypt 推荐的 ACME PHP 库吗? https://letsencrypt.org/docs/client-options/

  3. 我手动为域创建了一个新的 SSL 证书www.xyz2.example,该证书成功指向www.mywebapp.example. 但是,这破坏了对所有现有域的 SSL 支持 - *.mywebapp.example, mywebapp.example, www.xyz.example. 我是否需要为指向的每个域创建虚拟主机www.mywebapp.example? …

php apache ssl lets-encrypt certbot

2
推荐指数
1
解决办法
1588
查看次数

标签 统计

apache ×1

certbot ×1

css ×1

html ×1

internet-explorer-10 ×1

lets-encrypt ×1

php ×1

ssl ×1

windows-8 ×1