Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] margin-top different for chrome and safari? Reply To: [Solved] margin-top different for chrome and safari?

#189358
Paulie_D
Member

If you mean the


.Product-price-tag {
position: absolute;
width: 6.5%;
margin-left: 15.7%;
padding-top: 16.5%;
z-index: 1;
/* background-color: pink; */
}

that contains this image

Firstly, the parent element doesn’t have position:relative…I’m not sure why.

Then you can position the image div bottom:0; right:0 and you really don’t need margins at all.

Frankly however, that image should be a background not an inline image.

I’m not sure what the “hover effect” is supposed to be.