Forum Moderators: open
I make use of a dynamic css rollover 'trick' to display more info about the link being pointed at in my site's menu.
I'm not sure if I'm allowed to post a link to a general css info page with an example so I'll refrain from doing that at the moment.
Basically I format my link like this:
<a href="http://www.google.com">Google<span>Find everything you want on google!</span></a>
My css includes (more or less the following):
a span {display: none;}
a:hover span {display: block;
position: absolute; top: 340px; left: 1px;
padding: 5px; margin: 5px; z-index: 100; width: 100px;
color: #ccffcc; background: transparent;
font: 10px Verdana, sans-serif; text-align: center; text-decoration:none; }
The result is that the link is displayed normally and the tekst is hidden but when you hover over it the text in the span will be displayed (could do the same with js but I don't like js and this works in all major browsers).
Now, since the text in the span is hidden by default, might it be interpreted by Google as more or less the same thing as putting white text on a white background and other 'dirty' tricks like that?
Any information is welcome, I'm not a 'pro', the site is just a little promotion for my wife's store and was indexed by Google in the past but completely disappeared when Google started 'pseudo-dancing'.
Thanks in advance!
Pete.
and Welcome to webmaster world.
regards
MArk