Sent by Phoebe Taylor on 28 March 2008 18:06
or maybe not...
the html - which I've tried with .png and .gif images:
<p class="calendar"><a href="calendar.html" class="events"><img
src="graphics/calendar.gif" alt="Church Calendar" width="166px"
height="75px" border="0"></a></p>
the css:
a.events {
display: block;
width: 166px;
height: 75px;
text-align: center;
text-decoration: none;
background: url('graphics/calendarslide.jpg') no-repeat;
}
a.events:hover active {
background-position: 0 0 0 -166px;
}
Shouldn't I see the background image under the .gif or .png that I'm
trying to use as the link? Is what I'm attempting possible?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/