Png-jpg separation while zoom+/-

Hi guys,
need your advice/help

I have combined png and jpg and using transform: translateX they align perfectly but while zooming they are still separate. how to fix?

Thanks!

1 Like

I have no idea what that means but then I’ve only been doing this for thirty years:)

Can you explain exactly what you are doing and the code associated with the problem please :slight_smile:

If you are aligning something using percentages then that will fail at different widths/ heights so we really need to see the code you are using. If you are placing one element on top of another then there are better methods than translate.

Here’s an old thread about zoom that may be of interest. Extra white space and divs overlapping each other when zooming in and out of the page - #5 by jordonrho

1 Like