Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer Internet Explorer-<;img>;宽度不生效?_Internet Explorer_Internet Explorer 9 - Fatal编程技术网

Internet explorer Internet Explorer-<;img>;宽度不生效?

Internet explorer Internet Explorer-<;img>;宽度不生效?,internet-explorer,internet-explorer-9,Internet Explorer,Internet Explorer 9,我在IE9中有一个关于IMG宽度的问题,可以在这里看到,我看到的唯一问题是我对我的标记使用了“而不是”,因为它在PHP回音中。标题上方的主图片在IE上是巨大的(IE9+IE10测试)除了IE之外,其他一切看起来都很好。这是把IE扔掉的代码。我知道为什么了,它非常复杂,以前什么都没见过 是的,IE!在你的bootstrap.min.css中,有一个来自img的默认类,它的属性宽度是:auto 如果将其删除,它将在IE中正确显示 另外,只需添加 width: 300px; 以您的风格和页边空

我在IE9中有一个关于IMG宽度的问题,可以在这里看到,我看到的唯一问题是我对我的标记使用了“而不是”,因为它在PHP回音中。标题上方的主图片在IE上是巨大的(IE9+IE10测试)除了IE之外,其他一切看起来都很好。这是把IE扔掉的代码。我知道为什么了,它非常复杂,以前什么都没见过



是的,IE!

在你的bootstrap.min.css中,有一个来自img的默认类,它的属性宽度是:auto

如果将其删除,它将在IE中正确显示

另外,只需添加

 width: 300px;

以您的风格和页边空白,将纠正此问题。

这可能也很有趣。关于IE9图像上使用最大宽度100%。感谢您指导我盲目探索IE修复:p
 width: 300px;