html - 在安全连接中更改什么以设置样式?

标签 html css

我正在开发一个网站并获取网页 linked here .问题是网页没有使用样式呈现。

enter image description here

但是,当我打开它的源代码并将其复制到我桌面上的一个新文件时,现在可以适本地呈现样式。我不明白为什么它在安全连接上不起作用。有什么想法吗?

enter image description here

最佳答案

从我浏览器的错误控制台:

[blocked] The page at 'https://secure.nesinvakfi.org/nesinyayinevi/test.html' was loaded over HTTPS, but ran insecure content from 'http://www.nesinyayinevi.com/bootstrap/css/nybs.css': this content should also be loaded over HTTPS.

如果您要使用 HTTPS,请在页面的所有位置使用它。不要在页面中注入(inject)不安全的内容,这会使使用 HTTPS 毫无意义。

关于html - 在安全连接中更改什么以设置样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20097798/

相关文章:

c++ - 为QWebView设置透明背景

html - 如何增加 NVD3JS 饼图标签大小

html - 子菜单打开 CSS 时主导航处于事件状态

html 在所有设备中保持相同的字符大小

javascript - jsTree : How to get IDs of selected nodes to root node in jsTree?

javascript - 复选框向上文本

javascript - 获取div内最接近的img src

javascript - cufon 将如何支持阿拉伯语?

html - 在表单中作为 block 元素输入

html - DIV 卡在页面左侧