W3C home > Mailing lists > Public > www-html@w3.org > July 2001

RE: relevant in a lateral interactive sort of a way

From: Carr, Jeff <Jeff.Carr@lrn.va.gov>
Date: Thu, 12 Jul 2001 11:31:43 -0500
Message-ID: <1DE111E80092D311A0D100A0C9AD8B49012810DC@lrnestexc1.lrn.va.gov>
To: "'cyberkate'" <cyberkate@hotkey.net.au>
Cc: "'www-html@w3.org'" <www-html@w3.org>
This really isn't the place for these kind of questions, but you can assign
a background image to a class.
 
The obvious problems with this solutions are with browsers that don't
support stylesheets or the hover event (NS 4.x)
 
<style type="text/css">
<!--
a.foo{background:url(foo.png);
padding:.5em 1em;
}
a.foo:hover, a.foo:active, a.foo:focus{background:url(foohover.png);
}
-->
</style>

[snip]

<a href="foo.com" class="foo">Go to Foo</a>
Received on Thursday, 12 July 2001 12:48:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT