More information about the Underscore mailing list

[_] Image rollover best practice

Darren Beale bealers at gmail.com
Thu Dec 21 10:00:05 GMT 2006

> I use something based on
>
> http://wellstyled.com/css-nopreload-rollovers.html

I've used a similar, although not so elegant, method in the past with
good results. However if the bg image includes the link text also
because the designer and/or client insist on a particular font what do
you use as the actual link text?

e.g.
<li><a class="rollover" href="/foo" title="Foo">I'll show above the
image</a></li>

Wrap a span around the text and hide it? I seem to recall I've tried
that already and there was some other issue. I'll try again.

db