On 5/16/07, Laurel-Lea <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how to hyperlink a background image?

You'd need to hide a text link in there like so:

<ul>
   <li><a href="#">Link Text</a></li>
</ul>


li{ /* set your background and other relevant styling here */ }
li a{ display: block; width: 100%; height: 100%; text-indent: -999em; }

The text indent should hide your text off the page and the background
will appear linked.

Hope this helps,
Brian
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to