Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Javascript/CSS text rollover

Is this a good method?

6:29 pm on Apr 23, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 3, 2003
votes: 0

Hi all...I recently had a client ask me to reproduce an image rollover with one that uses actual text so that they could be more search engine friendly. I was considering using a combination of Javascript and CSS, where the onmouseover="MM_showHideLayers method is used to show and hide the appropriate layers when the user mouses over a link. I have two questions about this:

1. How well does this validate across different browsers? I am not that concerned with Netscape 4, but would like it to be acceptable for all the current browsers.

2. Will the search engines be able to read this correctly?

Thanks for any info, and I am also willing to look at other non-flash options for this as well. Thanks!


7:11 pm on Apr 23, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 7, 2001
votes: 0

This can be achieved very effectively using just CSS
a:link {
a:hover {
a:visited {

See the excelent tutorials in Nicks CSS forum.