I can make it display and then be hidden on hover over, but not the other way around.
B@
<head>
<style type="text/css">
p {
margin: 0;
padding: 0;
}
#reveal {
background-image: url(photo/ron2.jpg);
width: 629px;
height: 113px;
padding: 0;
margin: 0;
border: 0;
overflow: hidden;
}
div#reveal {
}
div#reveal:hover,active {
}
</style>
</head>
<body>
<p><img class="nonothing" src="photo\ron1.jpg" title="The" /></p>
<div id="reveal"></div>
<p><img class="nonothing" src="photo\ron3.jpg" title="picture" /></p>
 
<p><a href="popups.html"><img class="nobord" src="img\nav_next.png" title="Next Page" /></a></p>
<head>
<style type="text/css">
p {
margin: 0;
padding: 0;
}
#reveal {
background-image: url(photo/ron2.jpg);
background-position: 0px 113px;
background-repeat: no-repeat;
width: 629px;
height: 113px;
padding: 0;
margin: 0;
border: 0;
overflow: hidden;
}
div#reveal {
}
div#reveal:hover,active {
background-position: 0;
}
</style>
</head>
<body>
<p><img class="nonothing" src="photo\ron1.jpg" title="The" /></p>
<div id="reveal"></div>
<p><img class="nonothing" src="photo\ron3.jpg" title="picture" /></p>
 
<p><a href="popups.html"><img class="nobord" src="img\nav_next.png" title="Next Page" /></a></p>
#reveal {
background-image: url(photo/ron2.jpg);
background-position: 0px 113px;
background-repeat: no-repeat;
width: 629px;
height: 113px;
padding: 0;
margin: 0;
border: 0;
overflow: hidden;
}
#reveal {
background: url(photo/ron.jpg) no-repeat 0 113px;
width: 629px;
height: 113px;
overflow: hidden;
}
<div id="download_button">
<a href="#"></a>
</div>
div#download_button a:link {
display: block;
height: 90px;
width: 251px;
background: url('../images/sitedesign/download_button.jpg') no-repeat top;
}
div#download_button a:hover {
height: 90px;
width: 251px;
background: url('../images/sitedesign/download_button.jpg') no-repeat bottom;
}
Code:div#download_button a:hover { height: 90px; width: 251px; background: url('../images/sitedesign/download_button.jpg') no-repeat bottom; }
div#download_button a { display: block; height: 90px; width: 251px; background: url('../images/sitedesign/download_button.jpg') no-repeat;}
div#download_button a:hover { background-position: bottom left;}
You don't need to respecify the image as it's already specified on the a. You just need to set the background-position on hover..
You don't need to have the dimensions on hover either, it's just adding extra bloat.
Code:div#download_button a { display: block; height: 90px; width: 251px; background: url('../images/sitedesign/download_button.jpg') no-repeat;} div#download_button a:hover { background-position: bottom left;}