473,385 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Googlebot and Hidden Text

Hi:
I'm hoping someone can shed some light on this issue. (I've been
digging around everywhere and can't seem to find it by searching):

I use the @import statement to attach an external style sheet on our
site. I chose to use this technique rather than use the LINK tag
because I wanted to hide the design from older browsers like NN4 and to
present a clean, text-only version to JAWS and other accessibility
screen readers.

In the style sheet itself, I use the display:none attribute on the H1,
H2, and H3 tags so that the copy within these tags won't appear in the
version meant for those browsers that can interpret the @import
statement (modern browsers). In NN4, however, the H1, H2, and H3 tags
do appear, which helps to identify the pages of my site to this
browser.

My question is: does the Googlebot understand the @import statement? I
know that use of the display:none attribute may not comply with
Google's best practices, but if the Googlebot cannot read the style
sheet, is it safe to use this technique?

Thanks to anyone who can answer this question.

Jul 21 '05 #1
6 4560
On Mon, 21 Mar 2005 15:45:32 -0300, Bonnie <bo**********@jhu.edu> wrote:
Use text-indent: -5000px;
I never use the display: none. I don't want Google to ban me or lower my
PR.
--
Boost the visibility of your web site in Google!
http://www.digitalpoint.com/tools/ad-network/?s=5203

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

http://www.auriance.com - http://www.auriance.net
Jul 21 '05 #2
Tim
On 21 Mar 2005 10:45:32 -0800,
"Bonnie" <bo**********@jhu.edu> posted:
I use the @import statement to attach an external style sheet on our
site. I chose to use this technique rather than use the LINK tag
because I wanted to hide the design from older browsers like NN4 and to
present a clean, text-only version to JAWS and other accessibility
screen readers.
In what way are you doing it? Liking to an external style sheet, and it
imports the additional styles? Or are you doing in-line styles in the HTML
head?
My question is: does the Googlebot understand the @import statement? I
know that use of the display:none attribute may not comply with
Google's best practices, but if the Googlebot cannot read the style
sheet, is it safe to use this technique?


So far as I'm aware it doesn't even look at stylesheets (my webserver logs
don't show it accessing them, either).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 21 '05 #3
"Unknown User" <me@privacy.net> writes:
Use text-indent: -5000px;
I never use the display: none. I don't want Google to ban me or lower
my PR.


You think if it can be written to object to display: none it can't be
written to object to text-ident: -large; ?

I suspect, given that Googlebot doesn't download CSS files, it objects
to neither.

--
Chris
Jul 21 '05 #4
Chris Morris <c.********@durham.ac.uk> wrote:
"Unknown User" <me@privacy.net> writes:
Use text-indent: -5000px;
I never use the display: none. I don't want Google to ban me or lower
my PR.
You think if it can be written to object to display: none it can't be
written to object to text-ident: -large; ?


I agree wrt Google. But think about screen readers - dual purpose
browsers that display the page on screen and read it aloud (many use
IE for the screen display). These often support media="screen" and so
display: none; will hide the content from the screen reader as well as
from purely visual browsers. OTOH the text-indent and similar
techniques will only hide it from the visual browsers.
I suspect, given that Googlebot doesn't download CSS files, it objects
to neither.


For now. ;-\

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #5
On Tue, 22 Mar 2005 14:29:12 +1030, Tim wrote:
My question is: does the Googlebot understand the @import statement? I
know that use of the display:none attribute may not comply with
Google's best practices, but if the Googlebot cannot read the style
sheet, is it safe to use this technique?

So far as I'm aware it doesn't even look at stylesheets (my webserver logs
don't show it accessing them, either).


On my website (see sig ^^), I have comics, aka images containing text.
I wanted the text to be indexed by google, or even be readable by
no-visual browser, why not?

I didn't feel like putting all the dialogues in the alt attribue. I felt
it was too much text.
Does Google read it anyway ?

So I put it in a div with, in the css file a display:none, well google
reads it and I can find my website just by searching for a quote of my
comics. My inner geek is happy.

http://www.google.fr/search?hl=fr&q=...bull+attack%22

--
My Webcomic: www.geeksworld.org -+- All my websites: manaworld.free.fr
Slay-er? Chosen One. She who hangs out a lot in cemeteries?
You're kidding. Ask around. Look it up: Slayer, comma the.
-+- Buffy in Buffy The Vampire Slayer, 4x11 - It's in the dictionnary -+-
Jul 21 '05 #6
Tim
On Tue, 22 Mar 2005 14:29:12 +1030, Tim wrote:
So far as I'm aware it doesn't even look at stylesheets (my webserver logs
don't show it accessing them, either).

Salagir <Sa*****@jeruCITEDELESPACE.org.invalid> posted:
On my website <http://www.geeksworld.org.>
Hmm, the drawing styles reminds me of a cross between Tin Tin, Marineboy,
and some manga. ;-)
I have comics, aka images containing text.
I wanted the text to be indexed by google, or even be readable by
no-visual browser, why not?

I didn't feel like putting all the dialogues in the alt attribue. I felt
it was too much text.
The ALT text is an alternative for the image. In some cases, it's going to
be the only way to understand images, so it should contain useful content.
In some cases the surrounding text (such as your CSS hidden text) does the
same task and the images are purely illustrative, and don't really need any
ALT text.

For something like a comic I probably wouldn't worry about it and do it
like you've described. The chances are that the ALT text couldn't really
do it in a coherent manner, anyway, particularly with multiple characters
saying something in a cell.
Does Google read it anyway ?

So I put it in a div with, in the css file a display:none, well google
reads it and I can find my website just by searching for a quote of my
comics. My inner geek is happy.

http://www.google.fr/search?hl=fr&q=...bull+attack%22


I think they only Googling problem with display:none; was with in-line
styles, where Google will see it (I see no evidence of Google reading
external stylesheets). Likewise for doing white text on white, etc.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Andrew Durstewitz | last post by:
Hi! I am having a really strange issue. I have a few users calling in saying they are getting an error. On further review I found this line is what is causing it... Set strLookup =...
6
by: calfliu | last post by:
hello: everybody! I have a simple question. How can I translate the selected value from art to recipient(hidden input button)? <form name="send" method="post" action="send.cgi"> <select...
5
by: Marco Krechting | last post by:
Hi All, I have a thing that I can't get to work. I have a SELECT box of which I want the text to be copied to a hidden text. <SELECT NAME="GetUser" SIZE="1" > <option> --- Select your...
3
by: Mark Hannon | last post by:
Does "document.formName.elementName.disable" work on hidden form text elements? I have a form with some input fields that are associated with some hidden text fields and I would like to disable all...
1
by: Thomas | last post by:
How can I detect hidden text in a Word document using C#? -Thomas
0
by: Kasya | last post by:
How Can i make a hidden text in console application on my cin >> x;
4
by: =?Utf-8?B?UGF1bCBSZWVk?= | last post by:
Greetings. I have an app that's been in production for 3-4 years that is hosted at an ISP. I have an aspx control on the page that uses a few hidden text fields for repositioning logic executed...
2
by: Alexio | last post by:
Sample code snippet - <td align="right">Check Amount:&nbsp;</td> (1) <td><input type="text" name="CHK_input_1" size="19"style="text-align:right" onkeyup="calcCB();"...
2
by: Rodney Roe | last post by:
I'm using vba in excell 2007, and I wrote a program that through the FSO I can read/write data to a text file. I don't want my users to see said text file. Is there a way to use the FSO to textsream...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.