I want to position a div on the site, however in Chrome it appears one way and in Firefox another, ie the div in Chrome positions correctly, but in Firefox it is more to the left than in Chrome and I left the layout . I'm using the following code:
<div style="width: 500px; display: table; border: 0px #000 solid;">
<div style="width: 460px; position: absolute; border: 0px #000 solid; float: left; margin-left: -130px">
Conteúdo
</div>
</div>
Why does this happen? Would you have any solution to this difference?
Thank you!