Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Google index position risk of text hidden with CSS

Would using an iframe instead be any safer?



5:59 pm on Jan 26, 2010 (gmt 0)

5+ Year Member

To help with evaluating response, I want to track requests for advertiser phone numbers rather than just displaying them on the page.

What I was planning to do was display a JS link which says "View phone number", which when clicked will reveal the phone number, while in the background a jquery ajax call will record the request.

This would only affect a small percentage of the content of each page, but if I use it everywhere (which I need to for it to be much use) it would affect several thousand pages.

Hidden text has a bit of a bad name. I've never used it, or wanted to, as an aid to 'optimisation' and can see why it could be looked upon with disfavour by G and other SEs.

Is a small amount like this OK? The other possibility I'm considering is an iframe, but it's much less elegant technically.


10:10 pm on Jan 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hiding text for seo reasons is a bad thing. Having dynamic text for functionality is not a problem in my opinion. We have some email forms and our "sharing" buttons both dynamically generated and displayed via javascript (on hundreds of thousands of pages). Our stylesheet has a class that uses the "display:none" in it.

We've done this for probably 5-6 years and have never noticed a problem in search engine rankings.


12:32 pm on Jan 30, 2010 (gmt 0)

5+ Year Member

Thanks Maxim, that gives me hope. I'll give it a try on a few ads initially to see if there are any discernible downsides.

The advertisers are likely to whinge whatever... that's life.


Featured Threads

Hot Threads This Week

Hot Threads This Month