I'm developing a home page. It has an image at the top, positioned absolute to the right and top. I'm using z index to make this image appear behind some text.
Everything works fine in all (modern) browsers.
However, when you navigate away from the page and then back to it the image is not visible (or is not displaying).
Only when resizing the screen (to make a different CSS media querues kick in), reloading the page, or inspecting an element, does the image reappear.
This only happens in Chrome -- none of the other browsers.
At first I assumed it was a z index issue. I tried a few things but nothing worked. I narrowed the problem down to the position absolute. When this is removed the problem stops occurring.
Is this something anyone else has seen before?!
Any ideas on what I can do to fix it?
Many thanks in advance for any advice given.