View Full Version : A code to hide text but when you highlight the space you can see text


Ty_Ty_McFly
05-02-2006, 11:57 AM
Does anyone know the code for this? I tried to look around but not knowing what the technical term for this is I failed miserably.

I think it is something to do with javascript but I am not sure. If anyone can help me thank you x 100!! :) I will credit you on my website, how you want to be credited.

Spid
05-02-2006, 05:33 PM
you can specify the same color and background color in your css, it won't validate, but it will work.

dolce shanti
05-02-2006, 05:59 PM
Yep...just change the text you want visible only when highlighted to the color of your background =) That's the only way to do it that I know of.

So, for example, if you have a black background, use this code to change the text you want highlighted:

<font color="#000000">Whoo hoo! I'm being highlighted!</font>

Hope that helps! :D

war59312
05-03-2006, 03:28 AM
See:

http://www.seologic.com/faq/hidden-text.php