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)

Junior Member

10+ Year Member

joined:Nov 27, 2005
votes: 0

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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 20, 2004
votes: 0

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)

Junior Member

10+ Year Member

joined:Nov 27, 2005
votes: 0

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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members