Css Div在Chrome中出现在不同的位置

Css Div在Chrome中出现在不同的位置,css,google-chrome,firefox,Css,Google Chrome,Firefox,我不能在Firefox和Chrome中的同一个位置放置div。 我的网站()上有一个具有以下属性的div: 这是名为“商店”的第三个文本分区。 在Firefox中看起来不错,但在Chrome中就不行了,我不能把它放在同样的位置 如果我在Chrome中更改左边距:180px,它会按照我的要求显示,但在Firefox中不会。您必须更改文件的html体系结构,您只需按如下方式创建repetive div块: <div class="block"> <div class="block-

我不能在Firefox和Chrome中的同一个位置放置div。 我的网站()上有一个具有以下属性的div:

这是名为“商店”的第三个文本分区。 在Firefox中看起来不错,但在Chrome中就不行了,我不能把它放在同样的位置


如果我在Chrome中更改
左边距:180px
,它会按照我的要求显示,但在Firefox中不会。

您必须更改文件的html体系结构,您只需按如下方式创建repetive div块:

<div class="block">
<div class="block-images"><img src="" /></div>
<div class="block-text"><p>Some Text....</p></div>
</div>

一些文字


这是一个例子

我认为你的代码还可以…把你的代码贴在这里。如果你的网站发生了变化,小提琴对未来的用户很有帮助。。。
<div class="block">
<div class="block-images"><img src="" /></div>
<div class="block-text"><p>Some Text....</p></div>
</div>