Webmaster Forum


Go Back   Webmaster Forum > Marketing Forums > SEO Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

SEO Forum Search engine optimization discussions.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2006, 01:44 PM   #1 (permalink)
Inactive
 
c-low's Avatar
 
Join Date: 04-21-06
Location: Boston
Posts: 28
iTrader: 0 / 0%
Latest Blog:
None

c-low is on the right pathc-low is on the right pathc-low is on the right path
CSS and SEO - is hiding text with style sheets dangerous??

Does anybody know if it's considered illegal, frowned upon, considered spam etc. to use CSS (cascading style sheets) to alter the display of text on a web page so that the end user does not see it? and if so, to what extent?

I'm worried about using a technique to replace <h1> text with an image of the same text by applying a background image and moving the <h1> text itself way offscreen.
The example is at bill cooper's site
"About Bill Cooper" is the background image of an <h1> tag but
the text itself is not visible because it is positioned offscreen.

HTML:
HTML Code:
<div id="entryTitle"> <h1>About Bill Cooper MSW, LICSW</h1> </div>
CSS:
HTML Code:
#entryTitle h1 {position:absolute; left:-1600px;} #entryTitle {background:url(images/aboutBillCooper.jpg) 0 0 no-repeat; height:45px; width:300px; padding:0;}
The content in this example is obviously not being misrepresented, but i worry that the absolute positioning offscreen might set off an alarm for an indexing robot.
theoreticaly you could use this technique to hide spamy text.

Other ways I can think of one might use CSS to hide text:
  • font-size:0em;
  • display:none;
  • text color to match background color
c-low is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-28-2006, 01:56 PM   #2 (permalink)
v7n Mentor
 
Web Gazelle's Avatar
 
Join Date: 03-09-05
Location: forums.seo.com
Posts: 1,116
iTrader: 0 / 0%
Web Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to behold
It is a fairly new blackhat technique. Slightly more advanced than good old white text on white background.
__________________
W.G. ~ SEO Specialist
Search Engine Optimization Guide | Learn Basic SEO Techniques
Web Gazelle is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-28-2006, 03:14 PM   #3 (permalink)
v7n Mentor
 
bcombs's Avatar
 
Join Date: 01-26-04
Location: Austin, Texas
Posts: 444
iTrader: 0 / 0%
bcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web probcombs is a highly respected web pro
I seem to remember a comment from Cutts that suggested they were looking for such things. Feel free to take that with a grain of salt, but there is absolutely no technical reason that Google couldn't look inside a CSS file.

Net-net: I wouldn't recommend it.
__________________
Brian Combs, Senior VP & Chief Futurist, Apogee Search
Search Engine Marketing
Brian Combs' Personal Blog

George Bush is reading your email. Use big words!
bcombs is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2006, 06:54 AM   #4 (permalink)
Inactive
 
kaboomadvertising's Avatar
 
Join Date: 09-29-06
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

kaboomadvertising is liked by many
I think there are valid reasons for this

For example, the CSS image replacement technique is a valid one and has been around for quite some time. One of the main reasons it came into existence was for accessibility purposes. If a blind person was surfing the net with a screen reader, they'd still get the benefit of the text.

Another legitimate use would be if you have flash navigation but provide a div with the navigation for people who don't have the flash plugin. Your site is still accessible to everyone.

And according to Matt Cutts:
Quote:
We can flag text that appears to be hidden using CSS at Google. To date we have not algorithmically removed sites for doing that. We try hard to avoid throwing babies out with bathwater.
I think it will only become an issue when people abuse it on a regular basis for nefarious means.
kaboomadvertising is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2006, 07:05 AM   #5 (permalink)
Inactive
 
Join Date: 09-18-06
Location: Philippines
Posts: 132
iTrader: 0 / 0%
maepaulino is liked by somebodymaepaulino is liked by somebodymaepaulino is liked by somebody
Send a message via AIM to maepaulino Send a message via Yahoo to maepaulino Send a message via Skype™ to maepaulino
Quote:
Originally Posted by kaboomadvertising
For example, the CSS image replacement technique is a valid one and has been around for quite some time. One of the main reasons it came into existence was for accessibility purposes. If a blind person was surfing the net with a screen reader, they'd still get the benefit of the text.

Another legitimate use would be if you have flash navigation but provide a div with the navigation for people who don't have the flash plugin. Your site is still accessible to everyone.

And according to Matt Cutts:


I think it will only become an issue when people abuse it on a regular basis for nefarious means.
right, I use hidden texts on my personal domain, the hidden texts are jump to content/navigation and the site title so if ever some people surf with style disabled they wouldn't have a hard time going through my site...
maepaulino is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2006, 01:42 PM   #6 (permalink)
Inactive
 
c-low's Avatar
 
Join Date: 04-21-06
Location: Boston
Posts: 28
iTrader: 0 / 0%
Latest Blog:
None

c-low is on the right pathc-low is on the right pathc-low is on the right path
Matt Cutts has a posting entitled SEO Mistakes: Unwise comments in which he recommends against using css to hide text for spammy reasons, but I can't find a follow-up to the hundreds of worried responses from designers who legitimately use css to hide text for honest reasons.

I suppose if they started flagging these types of techniques it would become pretty clear pretty fast!
c-low is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2006, 01:54 PM   #7 (permalink)
Inactive
 
StupidScript's Avatar
 
Join Date: 09-22-06
Location: Los Angeles
Posts: 678
iTrader: 0 / 0%
Latest Blog:
None

StupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really nice
The bottom line is motive.

If you are not satisfied with user-agent detection, alt text or other methods of providing alternate content for different reasons, and you want to use a CSS technique such as the one you describe for legitimate reasons, then you'll probably remain one of the 'babies' when the bathwater is indeed thrown out, and you may be okay.

If you're going to try to game the SEs by using these techniques, however, then you're going to go out the window with the water, when they decide on an algorithmic approach for doing it.

BTW ... what's the problem with user-agent detection and alt text for doing the things you say you want to do? They're simple, effective, and well-known by the SEs. Screen-readers have no problem with alt text and a div that only displays when Flash is not detected would be useful both to non-Flash users and to the spiders. Badda-bing.
StupidScript is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Marketing Forums > SEO Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How dangerous is it....????? saj SEO Forum 37 01-29-2008 01:13 AM
CSS -- Organizing Style Sheets c-low Web Design Lobby 9 06-12-2007 07:18 AM
How to apply new layer style to text? jeet Graphic Design Forum 2 08-02-2006 03:58 PM
Style Sheets raciviusdawn Coding Forum 9 01-14-2004 05:07 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:02 AM.
© Copyright 2008 V7 Inc