css - Zend 3 样式表不包含在 IE 中
问题描述
在我的zend 3
项目中,样式表很好地包含在 Chrome 和 firefox(以及所有其他)中,只有 IE 不包含样式表...
<!-- Le styles -->
<?= $this
->headLink(['rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/img/icon.png'])
->prependStylesheet($this->basePath('css/style_algemeen.css?id=28'))
->prependStylesheet($this->basePath('css/bootstrap.min.css'))
?>
解决方案
我发现了问题,8 位颜色代码(例如#016e95ff)是问题所在。IE 对此并不满意!回到 6 位后 #016e95 问题消失了
推荐阅读
- html - FireFox 中的 SVG 渲染不准确
- macos - 更改输入设备后 AudioKit 导出异步失败
- opencv - 获取已在 OpenCV C++ 中的跟踪算法中跟踪的 ROI 的 x 和 y 像素坐标
- html - Bootstrap 4 - 在css中通过根名称引用颜色
- java - 如何使spring REST api消费者
- python - 尝试在 python 中保存 excel 电子表格时出现此错误:'list' object has no attribute 'find'
- postman - 将新的测试结果附加到现有的纽曼报告中
- angular - 重置日期选择器的问题 - Angular 2
- python - 在一个数据库命中评估整个 django 查询集
- javascript - 带有链接列表的响应式打字新闻自动收报机