Forum Moderators: not2easy

Message Too Old, No Replies

Cached CSS page in google

with absolute layout

         

zyshen

1:11 am on Jun 22, 2004 (gmt 0)

10+ Year Member



well. I have been building website with CSS and table together and the result were satisfying. As everyone is converting to CSS, I finally built my first CSS site with NO tables. It worked out ok. But today I just found out a funny thing.

I used absolute positioning in my css and the cached version of my site in google is all messed up. The information google display at the top is somewhat covered with my logo and other stuff. It does really matter performance-wise. But it's silly and funny. Google can't even handle a css absolute style ^^

RammsteinNicCage

2:42 am on Jun 22, 2004 (gmt 0)

10+ Year Member



I always thought that was weird, too, when it happened to my site. I just checked now and it's not happening anymore though. I'm wondering if it could be because I have a container div surrounding everything with a position:relative? I need to start commenting my css because I don't even know why I have it set to relative. :\

Jennifer

Llama

2:56 am on Jun 22, 2004 (gmt 0)

10+ Year Member



My site appears fine in the Google cache, but shows up directly overtop of that little table with that stuff about what a cache is, etc.

RammsteinNicCage

4:56 am on Jun 22, 2004 (gmt 0)

10+ Year Member



That's what we're talking about, Llama. :)

Jennifer

SuzyUK

8:21 am on Jun 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm wondering if it could be because I have a container div surrounding everything with a position:relative?

I would guess that is exactly what's stopping it happening for you Jennifer.. That info at the top of Googles cache is inserted into the body element and moves your whole page down. Because of your position relative on the container the AP divs inside are staying relative to their containing block as opposed to being positioned according to the body (viewport)

Suzy