Header Div Covers Google Cache
Posted 31 July 2011 - 02:44 PM
top: 0 !important;
left: 0 !important;
border-bottom: 2px solid #0A5784;
It looks OK in all browsers I have checked (that is what the zindex stuff is all about) but on Google search cache it obscures the top of the page, covering the cache information.
Any ideas if there is a way to fix?
Posted 31 July 2011 - 03:23 PM
Change the container of your absolutely positioned element to position: relative.
If your #page container is position: relative, an absolutely positioned element directly inside the #page will treat the top of #page as top: 0.
I didn't need to know this until WordPress came out with the admin bar and messed up my themes. Now I've been going through and making sure elements with absolute positioning have something to keep them from going to top:0 and ending up under the admin bar.
Posted 31 July 2011 - 04:42 PM
In case you are not seeing the same thing as I am, attached is a screen shot.
Edited by jonbey, 31 July 2011 - 04:49 PM.
Posted 31 July 2011 - 10:36 PM
If I were you I would just hide it when looking at the cache. Who else is going to care?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users