Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.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
Html IE8中的假想边际?_Html_Css_Internet Explorer 8 - Fatal编程技术网

Html IE8中的假想边际?

Html IE8中的假想边际?,html,css,internet-explorer-8,Html,Css,Internet Explorer 8,有人知道为什么图像没有与容器的右下角对齐,而是有某种假想的边距,使其与按钮重叠吗 只有在IE8中才会出现这种情况,在任何其他浏览器中查看页面时,它看起来都很棒 提前感谢:)将第1616行的css更改为“文本对齐:右”应该可以解决这个问题 .dealerLogo { text-align: right; position: absolute; bottom: 0; right: 0; cursor: pointer; } 我不知道为什么会发生这种情况,我也没有尽力

有人知道为什么图像没有与容器的右下角对齐,而是有某种假想的边距,使其与按钮重叠吗

只有在IE8中才会出现这种情况,在任何其他浏览器中查看页面时,它看起来都很棒


提前感谢:)

将第1616行的css更改为“文本对齐:右”应该可以解决这个问题

.dealerLogo {
   text-align: right;
   position: absolute;
   bottom: 0;
   right: 0;
   cursor: pointer;
}
我不知道为什么会发生这种情况,我也没有尽力去发现

要解决此问题,请在
.vcard.dealerImages.dealerLogo
上将
文本对齐:居中
更改为
文本对齐:右
。这在其他浏览器中没有任何区别,但修复了IE8


您还需要将
z-index:1
添加到
.vcard.dealerImages.dealerContact
,以保持橙色按钮的最右边部分正常工作。

感谢你们两位花时间回答这个问题,两个答案都是正确的,但我必须履行堆栈溢出职责,并勾选第一个正确的:)