Neato! What a necessary technique. I'll need to do something like this for the header portion on the home page of my site in case images are turned off on the visitor's browser.
Well, I got the image to show with the following code, but the header text is in view blocking the image.
markup:
Code:
<span id="sectionhomelink"><a href="http://www.atlantareviewgroup.com" title="Home" alt="Home Page"><h3>Back to Home Page</h3></a></span>
styles:
Code:
#sectionhomelink{
background-image:url("sectionhomelink.gif");
width:300px;
height:40px;
position:absolute;
}
#sectionhomelink:hover, #sectionhomelink:focus, #sectionhomelink:active{
background-position:0 -40px;
visibility:visible;
}
The link is only active when the mouse is level with the h3 element. I've done something wrong here.
I'll update the files now.
Bookmarks