| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Strange and Unexplainable CSS Problem, Exclusive to Chrome|
| 11:14 am on Jun 8, 2012 (gmt 0)|
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.
| 12:38 pm on Jun 8, 2012 (gmt 0)|
I've solved this. It was actually to do with a height: 100% on the image, which i've now set to a fixed pixel height.
Most likely a glitch from Chrome.
| 1:48 pm on Jun 8, 2012 (gmt 0)|
Interesting publicshpere, how odd. "Glitch" or bug in Chrome do you think? - Or just code not working as desired?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved