<a class="offpage" href="#" title="#">this text doesn't display</a>
Css
.offpage{
display: none;
}
Add the following to any tag and it will fail to display.. class="offpage"
The above css would need to be added to a external style sheet then linked
to the html document.
This works fine for hiding text from handhelds (if CSS is supported) and
printed web pages, but isn't so great for many screen readers. Screen
readers are now becoming too clever for their own good, and some will
actually ignore the any text that has the rule display: none assigned to it.
For screen readers users therefore, a new approach is needed: position:
absolute; left: -9000px. This basically takes the text and positions it
9000px to the left of the left edge of the screen, essentially making it
invisible.
Css
.offpage{
position: absolute;
left:-9000px;
}
-----Original Message-----
From: SEO1@googlegroups.com [mailto:SEO1@googlegroups.com] On Behalf Of RG
Sent: 08 July 2009 12:22
To: Google Search Engine Optimization SEO Google - MSN - Yahoo
Subject: Re: hide link; should still be found by Google indexer?
Hi Steve,
Would you mind sharing a sample of how it is done.
Thanks in advance,
RG
On May 26, 5:29 am, "Stephen Ponberth" <i...@smpdesigns.co.uk> wrote:
> Hi
>
> Give the "a" tag a class or id then position it off the page, using CSS.
> Even though you cannot see it on the page,Googlewill.
>
> Steve
>
>
>
> -----Original Message-----
> From: SEO1@googlegroups.com [mailto:SEO1@googlegroups.com] On Behalf Of
jago
> Sent: 24 May 2009 22:58
> To:GoogleSearch Engine Optimization SEOGoogle- MSN - Yahoo
> Subject:hidelink;shouldstillbefoundbyGoogleindexer?
>
> Hi,
>
> I want to put alink
>
> <a href="http://www.mywebsite.net">This is alink</a>
>
> on my website which shouldn't be visible to the reader butstillfound
> byGoogleand treated like any otherlink.
>
> How do I best do that?
>
> Thanks-Hidequoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Search Engine Optimization SEO Google - MSN - Yahoo" group.
To post to this group, send email to SEO1@googlegroups.com
To unsubscribe from this group, send email to SEO1+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SEO1?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment