I tested the code and it works fine for me - try checking the paths and/or use absolute references.
Also try adding positioning elements into the CSS for the image;
Code:
position: absolute;
top: 0px;
left: 0px;
My test page;
Code:
<html>
<head>
<title>Image Swop</title>
<style type="text/css">
div#mypic a {
width:300px;
height:280px;
background: url("http://img837.imageshack.us/img837/4831/meobay.gif") 0 0 no-repeat;
}
div#mypic a:hover {
background: url("http://img258.imageshack.us/img258/6564/thankyouo.gif") 0 0 no-repeat;
}
</style>
</head>
<body>
<div id="rightCV">
<div id="mypic"><a href="Doc/WebDeveloper.pdf"></a></div>
</div>
</body>
</html>
Bookmarks